]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Make some functions which return Gtk.IconInfo transfer ownership
authorEvan Nemerson <evan@polussystems.com>
Sun, 26 Jul 2009 20:59:53 +0000 (13:59 -0700)
committerJaap A. Haitsma <jaap@haitsma.org>
Tue, 28 Jul 2009 05:07:46 +0000 (07:07 +0200)
Fixes bug #589530

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

index 12366b03fef8d2a3d8d0e6873fdb3eda9fbfddf4..ca2e0e59a082d7d97af5349e4f429ace45f727f2 100644 (file)
@@ -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);
index d9771781fb10ac99194a1db44a0c817501d23377..55b95a4ad7e2bdea7c24e1cdf9323e48737ec83d 100644 (file)
@@ -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"