[gtk+] filechooser: Add missing array annotations to add_choice()
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] filechooser: Add missing array annotations to add_choice()
- Date: Sat, 6 Jan 2018 08:58:56 +0000 (UTC)
commit 3c38ebb906319cb75688f9929b65ecf2a4fd3440
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 2611537..7bed67c 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]