[gtk+/gtk-3-8] gtk: gtk_init_with_args allows NULL for parameter_string



commit e31402932645a299a0f1c7962f3829002a562788
Author: Christian Persch <chpe gnome org>
Date:   Mon Mar 18 14:04:52 2013 +0100

    gtk: gtk_init_with_args allows NULL for parameter_string

 gtk/gtkmain.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c
index 64e06d5..fbf8293 100644
--- a/gtk/gtkmain.c
+++ b/gtk/gtkmain.c
@@ -849,7 +849,7 @@ gtk_get_option_group (gboolean open_default_display)
  * @argv: (array length=argc) (inout) (allow-none): Address of the
  *     <parameter>argv</parameter> parameter of main(), or %NULL. Any options
  *     understood by GTK+ are stripped before return.
- * @parameter_string: a string which is displayed in
+ * @parameter_string: (allow-none): a string which is displayed in
  *    the first line of <option>--help</option> output, after
  *    <literal><replaceable>programname</replaceable> [OPTION...]</literal>
  * @entries: (array zero-terminated=1): a %NULL-terminated array


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