]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-3.0: Fix FileChooser.add_choice()
authorRico Tzschichholz <ricotz@ubuntu.com>
Thu, 7 Dec 2017 20:36:47 +0000 (21:36 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 9 Dec 2017 13:37:04 +0000 (14:37 +0100)
vapi/gtk+-3.0.vapi
vapi/packages/gtk+-3.0/gtk+-3.0.metadata

index b1cce176f1aaff1ffe8b98009e90eed2dce06517..8a8c4c878aa19ae34539c31c94daadfa0a543897 100644 (file)
@@ -7418,7 +7418,7 @@ namespace Gtk {
        }
        [CCode (cheader_filename = "gtk/gtk.h")]
        public interface FileChooser : GLib.Object {
-               public void add_choice (string id, string label, string[]? options, string[]? option_labels);
+               public void add_choice (string id, string label, [CCode (array_length = false, array_null_terminated = true)] string[]? options, [CCode (array_length = false, array_null_terminated = true)] string[]? option_labels);
                public void add_filter (owned Gtk.FileFilter filter);
                public bool add_shortcut_folder (string folder) throws GLib.Error;
                public bool add_shortcut_folder_uri (string uri) throws GLib.Error;
index 751721cc8a6cc1d9c555ed7f3208a220c1f0ca50..2af9f42e908199f1c863623202f7179dc87b584b 100644 (file)
@@ -446,8 +446,8 @@ gtk_expander_get_label nullable="1"
 gtk_expander_set_label.label nullable="1"
 gtk_expander_set_label_widget.label_widget nullable="1"
 gtk_false hidden="1"
-gtk_file_chooser_add_choice.options is_array="1" is_out="0" nullable="1"
-gtk_file_chooser_add_choice.option_labels is_array="1" is_out="0" nullable="1"
+gtk_file_chooser_add_choice.options is_array="1" array_null_terminated="1" is_out="0" nullable="1"
+gtk_file_chooser_add_choice.option_labels is_array="1" array_null_terminated="1" is_out="0" nullable="1"
 gtk_file_chooser_add_filter.filter transfer_ownership="1"
 gtk_file_chooser_get_current_folder transfer_ownership="1"
 gtk_file_chooser_get_current_folder_file transfer_ownership="1"