[vala] gtk+-2.0: Fix GtkRecentData binding



commit 2a2d12d5dbc17464b2228744fe9819189a23cced
Author: Jürg Billeter <j bitron ch>
Date:   Sun Sep 13 20:39:18 2009 +0200

    gtk+-2.0: Fix GtkRecentData binding
    
    Fixes bug 559647.

 vapi/gtk+-2.0.vapi                       |    4 ++--
 vapi/packages/gtk+-2.0/gtk+-2.0.metadata |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index b54d04a..a7e9baf 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -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;
 	}
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index 1b7a6be..eef3c00 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -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"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]