summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooser.c
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2018-01-06 09:34:44 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2018-01-06 09:34:44 +0100
commit3c38ebb906319cb75688f9929b65ecf2a4fd3440 (patch)
tree078b083bfa60337218fda9385531c19b8b497cae /gtk/gtkfilechooser.c
parent6e6e6d774f85973a4f6c7e06b966978bb7eac17b (diff)
downloadgtk+-3c38ebb906319cb75688f9929b65ecf2a4fd3440.tar.gz
filechooser: Add missing array annotations to add_choice()
Diffstat (limited to 'gtk/gtkfilechooser.c')
-rw-r--r--gtk/gtkfilechooser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkfilechooser.c b/gtk/gtkfilechooser.c
index 2611537cc1..7bed67c96e 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