mirror of https://github.com/GNOME/gimp.git
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:
parent
6389bb4b58
commit
c260b4d50d
|
@ -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".
|
||||
|
|
Loading…
Reference in New Issue