[gtk+/gtk-3-22] filechooser: Add missing array annotations to add_choice()



commit 6f26d0dc0c18a6a1d851ea340bb826e77dc2b1c0
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sat Jan 6 09:34:44 2018 +0100

    filechooser: Add missing array annotations to add_choice()

 gtk/gtkfilechooser.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkfilechooser.c b/gtk/gtkfilechooser.c
index 91b0caa..26240c9 100644
--- a/gtk/gtkfilechooser.c
+++ b/gtk/gtkfilechooser.c
@@ -2269,8 +2269,8 @@ gtk_file_chooser_get_do_overwrite_confirmation (GtkFileChooser *chooser)
  * @chooser: a #GtkFileChooser
  * @id: id for the added choice
  * @label: user-visible label for the added choice
- * @options: ids for the options of the choice, or %NULL for a boolean choice
- * @option_labels: user-visible labels for the options, must be the same length as @options
+ * @options: (nullable) (array zero-terminated=1): ids for the options of the choice, or %NULL for a boolean 
choice
+ * @option_labels: (nullable) (array zero-terminated=1): user-visible labels for the options, must be the 
same length as @options
  *
  * Adds a 'choice' to the file chooser. This is typically implemented
  * as a combobox or, for boolean choices, as a checkbutton. You can select


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