]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-2.0: gtk_icon_theme_choose_icon.icon_names does not have a length
authorGregor Burger <gregor.burger@uibk.ac.at>
Fri, 14 May 2010 05:24:55 +0000 (22:24 -0700)
committerEvan Nemerson <evan@coeus-group.com>
Fri, 14 May 2010 05:24:55 +0000 (22:24 -0700)
Fixes bug 618574.

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

index 0999035df63ce0ce4a2277cb83b1de34c842ccd3..e37749b909c4d05bd5a941a3b4850e32bfb468d7 100644 (file)
@@ -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 ();
index e3e11f71f57ae5314628c642d801e1f9a7d4a152..ffe14607290a7d67a21ed6eaf08ad2443a2e1dd7 100644 (file)
@@ -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"