libgimp: add correct annotation for gimp_main().

With GObject introspection, this allows to properly use this function,
otherwise it sees the argv argument as a string (and not an array of
string), which cannot be used properly.
For instance, with Python binding, you can just call it like this:

> Gimp.main (info, sys.argv)
This commit is contained in:
Jehan 2019-07-25 11:02:53 +02:00
parent 6389bb4b58
commit c260b4d50d
1 changed files with 1 additions and 1 deletions

View File

@ -260,7 +260,7 @@ static gchar *pdb_error_message = NULL;
* gimp_main:
* @info: the PLUG_IN_INFO structure
* @argc: the number of arguments
* @argv: the arguments
* @argv: (array length=argc): the arguments
*
* The main procedure that must be called with the PLUG_IN_INFO structure
* and the 'argc' and 'argv' that are passed to "main".