[vala] gio-2.0: Fix g_themed_icon_get_names binding



commit 9eb8808596e921c44c5502681d314cd64dc0c668
Author: Jürg Billeter <j bitron ch>
Date:   Tue Oct 12 17:55:40 2010 +0200

    gio-2.0: Fix g_themed_icon_get_names binding

 vapi/gio-2.0.vapi                      |    2 +-
 vapi/packages/gio-2.0/gio-2.0.metadata |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 203b570..bcaadf7 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -1353,7 +1353,7 @@ namespace GLib {
 		public void append_name (string iconname);
 		[CCode (type = "GIcon*", has_construct_function = false)]
 		public ThemedIcon.from_names (string[] iconnames);
-		[CCode (array_length = false)]
+		[CCode (array_length = false, array_null_terminated = true)]
 		public unowned string[] get_names ();
 		public void prepend_name (string iconname);
 		[CCode (type = "GIcon*", has_construct_function = false)]
diff --git a/vapi/packages/gio-2.0/gio-2.0.metadata b/vapi/packages/gio-2.0/gio-2.0.metadata
index 37b8d89..18bda19 100644
--- a/vapi/packages/gio-2.0/gio-2.0.metadata
+++ b/vapi/packages/gio-2.0/gio-2.0.metadata
@@ -148,7 +148,7 @@ g_srv_target_list_sort type_arguments="SrvTarget" transfer_ownership="1"
 g_srv_target_list_sort.targets type_arguments="SrvTarget" transfer_ownership="1"
 g_themed_icon_new_from_names.iconnames is_array="1"
 g_themed_icon_new_from_names.len hidden="1"
-g_themed_icon_get_names is_array="1" no_array_length="1"
+g_themed_icon_get_names is_array="1" no_array_length="1" array_null_terminated="1"
 g_vfs_get_file_for_path transfer_ownership="1"
 g_vfs_get_file_for_uri transfer_ownership="1"
 g_vfs_get_supported_uri_schemes is_array="1"



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