[glib] goption: g_option_context_new allows NULL for parameter_string



commit 9863cce079e8ece11cce61902d6ea08c6780467a
Author: Christian Persch <chpe gnome org>
Date:   Mon Mar 18 14:01:28 2013 +0100

    goption: g_option_context_new allows NULL for parameter_string

 glib/goption.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/goption.c b/glib/goption.c
index c38c163..e33f992 100644
--- a/glib/goption.c
+++ b/glib/goption.c
@@ -276,7 +276,7 @@ G_DEFINE_QUARK (g-option-context-error-quark, g_option_error)
 
 /**
  * g_option_context_new:
- * @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 the
  *    usage summary
  *    <literal><replaceable>programname</replaceable> [OPTION...]</literal>


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