[vala/0.14] gtk+-2.0, gtk+-3.0: fix IconTheme.get_search_path argument type



commit b16da50443e75dc4125abd54d6920f46aa504594
Author: Evan Nemerson <evan coeus-group com>
Date:   Fri Dec 16 11:35:59 2011 -0800

    gtk+-2.0, gtk+-3.0: fix IconTheme.get_search_path argument type

 vapi/gtk+-2.0.vapi                       |    2 +-
 vapi/gtk+-3.0.vapi                       |    2 +-
 vapi/packages/gtk+-2.0/gtk+-2.0.metadata |    2 ++
 vapi/packages/gtk+-3.0/gtk+-3.0.metadata |    2 ++
 4 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index 35a9a4d..bc3c87f 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -2087,7 +2087,7 @@ namespace Gtk {
 		public unowned string get_example_icon_name ();
 		public static unowned Gtk.IconTheme get_for_screen (Gdk.Screen screen);
 		public int get_icon_sizes (string icon_name);
-		public void get_search_path (string path, int n_elements);
+		public void get_search_path (out string[] path);
 		public bool has_icon (string icon_name);
 		public GLib.List<string> list_contexts ();
 		public GLib.List<string> list_icons (string context);
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index b6bd093..ac86816 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -2214,7 +2214,7 @@ namespace Gtk {
 		public unowned string get_example_icon_name ();
 		public static unowned Gtk.IconTheme get_for_screen (Gdk.Screen screen);
 		public int get_icon_sizes (string icon_name);
-		public void get_search_path (string path, int n_elements);
+		public void get_search_path (out string[] path);
 		public bool has_icon (string icon_name);
 		public GLib.List<string> list_contexts ();
 		public GLib.List<string> list_icons (string context);
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index 3ce5869..a6bd494 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -241,6 +241,8 @@ gtk_icon_view_get_selected_items transfer_ownership="1" type_arguments="TreePath
 gtk_icon_set_copy transfer_ownership="1"
 gtk_icon_source_copy transfer_ownership="1"
 gtk_icon_theme_list_contexts transfer_ownership="1" type_arguments="string"
+gtk_icon_theme_get_search_path.path is_array="1" is_out="1" transfer_ownership="1"
+gtk_icon_theme_get_search_path.n_elements hidden="1"
 gtk_icon_theme_list_icons transfer_ownership="1" type_arguments="string"
 gtk_icon_theme_load_icon transfer_ownership="1" nullable="1"
 gtk_icon_theme_lookup_icon transfer_ownership="1"
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index 0149cde..1a3cdb4 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -292,6 +292,8 @@ gtk_icon_view_get_tooltip_context.y is_out="1"
 gtk_icon_view_get_selected_items transfer_ownership="1" type_arguments="TreePath"
 gtk_icon_set_copy transfer_ownership="1"
 gtk_icon_source_copy transfer_ownership="1"
+gtk_icon_theme_get_search_path.path is_array="1" is_out="1" transfer_ownership="1"
+gtk_icon_theme_get_search_path.n_elements hidden="1"
 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_load_icon transfer_ownership="1" nullable="1"



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