summaryrefslogtreecommitdiff
path: root/gtk/gtkmodules.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-01-07 08:12:07 -0500
committerMatthias Clasen <mclasen@redhat.com>2011-01-07 08:12:07 -0500
commitbe632558dc002e0df1168680bfdd37823687dca6 (patch)
treef7fd59549122cbf992a60ee40fefa09c98f9bdf8 /gtk/gtkmodules.h
parent8de4661d8057578870bb27985a0e0e533d4a5783 (diff)
downloadgtk+-be632558dc002e0df1168680bfdd37823687dca6.tar.gz
Document that GtkModuleInit doesn't receive argv anymore
Diffstat (limited to 'gtk/gtkmodules.h')
-rw-r--r--gtk/gtkmodules.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/gtk/gtkmodules.h b/gtk/gtkmodules.h
index 4674442963..a2adfce78a 100644
--- a/gtk/gtkmodules.h
+++ b/gtk/gtkmodules.h
@@ -32,13 +32,12 @@ G_BEGIN_DECLS
/**
* GtkModuleInitFunc:
- * @argc: Pointer to the number of arguments remaining after gtk_init()
- * @argv: Points to the argument vector
+ * @argc: GTK+ always passes %NULL for this argument
+ * @argv: GTK+ always passes %NULL for this argument
*
* Each GTK+ module must have a function gtk_module_init()
* with this prototype. This function is called after loading
- * the module with the @argc and @argv cleaned from any arguments
- * that GTK+ handles itself.
+ * the module.
*/
typedef void (*GtkModuleInitFunc) (gint *argc,
gchar ***argv);