[gtk+] Document that GtkModuleInit doesn't receive argv anymore



commit be632558dc002e0df1168680bfdd37823687dca6
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Jan 7 08:12:07 2011 -0500

    Document that GtkModuleInit doesn't receive argv anymore

 gtk/gtkmodules.h |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkmodules.h b/gtk/gtkmodules.h
index 4674442..a2adfce 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]