Document that GtkModuleInit doesn't receive argv anymore

This commit is contained in:
Matthias Clasen 2011-01-07 08:12:07 -05:00
parent 8de4661d80
commit be632558dc

View File

@ -32,13 +32,12 @@ G_BEGIN_DECLS
/** /**
* GtkModuleInitFunc: * GtkModuleInitFunc:
* @argc: Pointer to the number of arguments remaining after gtk_init() * @argc: GTK+ always passes %NULL for this argument
* @argv: Points to the argument vector * @argv: GTK+ always passes %NULL for this argument
* *
* Each GTK+ module must have a function gtk_module_init() * Each GTK+ module must have a function gtk_module_init()
* with this prototype. This function is called after loading * with this prototype. This function is called after loading
* the module with the @argc and @argv cleaned from any arguments * the module.
* that GTK+ handles itself.
*/ */
typedef void (*GtkModuleInitFunc) (gint *argc, typedef void (*GtkModuleInitFunc) (gint *argc,
gchar ***argv); gchar ***argv);