[glib] Annotate g_application_add_main_option_entries



commit a732f2966d114a040a2958084252b697b1f29f29
Author: Paolo Borelli <pborelli gnome org>
Date:   Sun Feb 16 22:06:11 2014 +0100

    Annotate g_application_add_main_option_entries

 gio/gapplication.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gio/gapplication.c b/gio/gapplication.c
index 04c031c..ecbeb8d 100644
--- a/gio/gapplication.c
+++ b/gio/gapplication.c
@@ -589,7 +589,8 @@ add_packed_option (GApplication *application,
 /**
  * g_application_add_main_option_entries:
  * @application: a #GApplication
- * @entries: a %NULL-terminated list of #GOptionEntrys
+ * @entries: (array zero-terminated=1) (element-type GOptionEntry) a
+ *           %NULL-terminated list of #GOptionEntrys
  *
  * Adds main option entries to be handled by @application.
  *


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