]> 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 07:40:38 +0000 (08:40 +0100)
vapi/gtk+-3.0.vapi
vapi/packages/gtk+-3.0/gtk+-3.0.metadata

index a5bc470f941ab5495dfda3e802d0ba72a96041c2..d1a1758248760f8906073e85867b61001ea8bf39 100644 (file)
@@ -7417,7 +7417,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 8e64601b8464b9c9eb9c31702df4b7a3fe8ff8c0..cbcca0ea269f0577f7e23b5f4c93b543df34a9ba 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"