[vala] gtk+-2.0: gtk_icon_theme_choose_icon.icon_names does not have a length



commit 6dbe047d2a27e59c66050c73c06f45693296e118
Author: Gregor Burger <gregor burger uibk ac at>
Date:   Thu May 13 22:24:55 2010 -0700

    gtk+-2.0: gtk_icon_theme_choose_icon.icon_names does not have a length
    
    Fixes bug 618574.

 vapi/gtk+-2.0.vapi                       |    2 +-
 vapi/packages/gtk+-2.0/gtk+-2.0.metadata |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index 0999035..e37749b 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -1837,7 +1837,7 @@ namespace Gtk {
 		public IconTheme ();
 		public static void add_builtin_icon (string icon_name, int size, Gdk.Pixbuf pixbuf);
 		public void append_search_path (string path);
-		public Gtk.IconInfo choose_icon (string[] icon_names, int size, Gtk.IconLookupFlags flags);
+		public Gtk.IconInfo choose_icon ([CCode (array_length = false)] string[] icon_names, int size, Gtk.IconLookupFlags flags);
 		public static GLib.Quark error_quark ();
 		public static unowned Gtk.IconTheme get_default ();
 		public unowned string get_example_icon_name ();
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index e3e11f7..ffe1460 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -200,6 +200,7 @@ gtk_icon_theme_list_contexts transfer_ownership="1" type_arguments="string"
 gtk_icon_theme_list_icons transfer_ownership="1" type_arguments="string"
 gtk_icon_theme_lookup_icon transfer_ownership="1"
 gtk_icon_theme_choose_icon transfer_ownership="1"
+gtk_icon_theme_choose_icon.icon_names no_array_length="1" array_null_terminated="1"
 gtk_icon_theme_lookup_by_gicon transfer_ownership="1"
 GtkIconView::item_activated has_emitter="1"
 gtk_icon_view_select_all hidden="1" experimental="1"



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