[vala] Make some functions which return Gtk.IconInfo transfer ownership



commit 54ee2e1dd4cb336a1a057e50717d95171f705c16
Author: Evan Nemerson <evan polussystems com>
Date:   Sun Jul 26 13:59:53 2009 -0700

    Make some functions which return Gtk.IconInfo transfer ownership
    
    Fixes bug #589530

 vapi/gtk+-2.0.vapi                       |    8 ++++----
 vapi/packages/gtk+-2.0/gtk+-2.0.metadata |    3 +++
 2 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index 12366b0..ca2e0e5 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -1,4 +1,4 @@
-/* gtk+-2.0.vapi generated by vapigen, do not modify. */
+/* gtk+-2.0.vapi generated by lt-vapigen, do not modify. */
 
 [CCode (cprefix = "Gtk", lower_case_cprefix = "gtk_")]
 namespace Gtk {
@@ -1798,7 +1798,7 @@ namespace Gtk {
 	public class IconTheme : GLib.Object {
 		public static void add_builtin_icon (string icon_name, int size, Gdk.Pixbuf pixbuf);
 		public void append_search_path (string path);
-		public unowned Gtk.IconInfo choose_icon (string[] icon_names, int size, Gtk.IconLookupFlags flags);
+		public Gtk.IconInfo choose_icon (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 ();
@@ -1809,8 +1809,8 @@ namespace Gtk {
 		public unowned GLib.List list_contexts ();
 		public unowned GLib.List list_icons (string context);
 		public unowned Gdk.Pixbuf load_icon (string icon_name, int size, Gtk.IconLookupFlags flags) throws GLib.Error;
-		public unowned Gtk.IconInfo lookup_by_gicon (GLib.Icon icon, int size, Gtk.IconLookupFlags flags);
-		public unowned Gtk.IconInfo lookup_icon (string icon_name, int size, Gtk.IconLookupFlags flags);
+		public Gtk.IconInfo lookup_by_gicon (GLib.Icon icon, int size, Gtk.IconLookupFlags flags);
+		public Gtk.IconInfo lookup_icon (string icon_name, int size, Gtk.IconLookupFlags flags);
 		[CCode (has_construct_function = false)]
 		public IconTheme ();
 		public void prepend_search_path (string path);
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index d977178..55b95a4 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -149,6 +149,9 @@ gtk_icon_view_get_tooltip_context.x is_out="1"
 gtk_icon_view_get_tooltip_context.y is_out="1"
 gtk_icon_set_copy transfer_ownership="1"
 gtk_icon_source_copy transfer_ownership="1"
+gtk_icon_theme_lookup_icon transfer_ownership="1"
+gtk_icon_theme_choose_icon transfer_ownership="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"
 gtk_icon_view_selected_foreach.data hidden="1"



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