]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-2.0: Fix GtkRecentData binding
authorJürg Billeter <j@bitron.ch>
Sun, 13 Sep 2009 18:39:18 +0000 (20:39 +0200)
committerJürg Billeter <j@bitron.ch>
Sun, 13 Sep 2009 18:39:18 +0000 (20:39 +0200)
Fixes bug 559647.

vapi/gtk+-2.0.vapi
vapi/packages/gtk+-2.0/gtk+-2.0.metadata

index b54d04a62560b66629709f1f3dfca934732cfe4b..a7e9bafac1d5af84ffd6766d7ced21013ade9e05 100644 (file)
@@ -5772,14 +5772,14 @@ namespace Gtk {
                public weak string tooltip;
                public int value;
        }
-       [CCode (type_id = "GTK_TYPE_RECENT_DATA", cheader_filename = "gtk/gtk.h")]
+       [CCode (type_id = "GTK_TYPE_RECENT_DATA", has_copy_function = false, has_destroy_function = false, cheader_filename = "gtk/gtk.h")]
        public struct RecentData {
                public string display_name;
                public string description;
                public string mime_type;
                public string app_name;
                public string app_exec;
-               [CCode (array_length = false)]
+               [CCode (array_length = false, array_null_terminated = true)]
                public string[] groups;
                public bool is_private;
        }
index 1b7a6be2f1b12b1b3a1d00d2ac9d777751163af8..eef3c003f1db522e09590ec1a6c68828141cc534 100644 (file)
@@ -342,13 +342,13 @@ GtkRadioActionEntry is_value_type="1"
 gtk_radio_button_new.group nullable="1"
 gtk_radio_button_new_with_label.group nullable="1"
 gtk_radio_button_new_with_mnemonic.group nullable="1"
-GtkRecentData is_value_type="1"
+GtkRecentData is_value_type="1" has_copy_function="0" has_destroy_function="0"
 GtkRecentData.display_name weak="0"
 GtkRecentData.description weak="0"
 GtkRecentData.mime_type weak="0"
 GtkRecentData.app_name weak="0"
 GtkRecentData.app_exec weak="0"
-GtkRecentData.groups is_array="1" weak="0"
+GtkRecentData.groups is_array="1" weak="0" array_null_terminated="1"
 GtkRequisition is_value_type="1"
 gtk_rc_get_style_by_paths nullable="1"
 gtk_rc_get_style_by_paths.widget_path nullable="1"