From be632558dc002e0df1168680bfdd37823687dca6 Mon Sep 17 00:00:00 2001 From: Matthias Clasen <mclasen@redhat.com> Date: Fri, 7 Jan 2011 08:12:07 -0500 Subject: Document that GtkModuleInit doesn't receive argv anymore --- gtk/gtkmodules.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'gtk/gtkmodules.h') 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); -- cgit v1.2.1