[glib] gmountoperation: Add missing (array) annotations



commit b16d7fc1a77021455fb370fa2754a03c67c9e1d4
Author: Philip Withnall <withnall endlessm com>
Date:   Wed Nov 15 10:54:30 2017 +0000

    gmountoperation: Add missing (array) annotations
    
    Two of the vfuncs in GMountOperation need some annotations for their
    element types and array sizes, otherwise g-ir-scanner comes up with
    nonsense output.
    
    Signed-off-by: Philip Withnall <withnall endlessm com>
    
    https://bugzilla.gnome.org/show_bug.cgi?id=773980

 gio/gmountoperation.h |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/gio/gmountoperation.h b/gio/gmountoperation.h
index e730818..24b96e0 100644
--- a/gio/gmountoperation.h
+++ b/gio/gmountoperation.h
@@ -64,6 +64,12 @@ struct _GMountOperationClass
                         const char            *default_domain,
                         GAskPasswordFlags      flags);
 
+  /**
+   * GMountOperationClass::ask_question:
+   * @op:
+   * @message:
+   * @choices: (array zero-terminated=1) (element-type utf8):
+   */
   void (* ask_question) (GMountOperation       *op,
                         const char            *message,
                         const char            *choices[]);
@@ -73,6 +79,15 @@ struct _GMountOperationClass
 
   void (* aborted)      (GMountOperation       *op);
 
+  /**
+   * GMountOperationClass::show_processes:
+   * @op:
+   * @message:
+   * @processes: (element-type GPid):
+   * @choices: (array zero-terminated=1) (element-type utf8):
+   *
+   * Since: 2.22
+   */
   void (* show_processes) (GMountOperation      *op,
                            const gchar          *message,
                            GArray               *processes,


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