[gtk+] Adding allow-none introspection annotation for GtkInitFunc parameters



commit 953112f91f2257db4f7cd8c5d6cc1be28c50af79
Author: Alberto Ruiz <aruiz gnome org>
Date:   Wed Apr 20 20:11:11 2011 +0100

    Adding allow-none introspection annotation for GtkInitFunc parameters

 gtk/gtkmodules.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkmodules.h b/gtk/gtkmodules.h
index 3c97854..b0f9a50 100644
--- a/gtk/gtkmodules.h
+++ b/gtk/gtkmodules.h
@@ -32,8 +32,8 @@ G_BEGIN_DECLS
 
 /**
  * GtkModuleInitFunc:
- * @argc: GTK+ always passes %NULL for this argument
- * @argv: (array length=argc): GTK+ always passes %NULL for this argument
+ * @argc: (allow-none): GTK+ always passes %NULL for this argument
+ * @argv: (allow-none) (array length=argc): 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



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