]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-2.0: Mark IconTheme.load_icon as transferring ownership
authorEvan Nemerson <evan@coeus-group.com>
Thu, 11 Nov 2010 05:27:26 +0000 (21:27 -0800)
committerJürg Billeter <j@bitron.ch>
Thu, 23 Dec 2010 14:37:58 +0000 (15:37 +0100)
vapi/gtk+-2.0.vapi
vapi/packages/gtk+-2.0/gtk+-2.0.metadata

index a1d8b8cf283aeef08f585d0d462327a5ba5fc909..1c92b6847ba96be1cbf0ac992c6c205fb7d3bfe8 100644 (file)
@@ -1869,7 +1869,7 @@ namespace Gtk {
                public bool has_icon (string icon_name);
                public GLib.List<string> list_contexts ();
                public GLib.List<string> list_icons (string context);
-               public unowned Gdk.Pixbuf load_icon (string icon_name, int size, Gtk.IconLookupFlags flags) throws GLib.Error;
+               public Gdk.Pixbuf? load_icon (string icon_name, int size, Gtk.IconLookupFlags flags) throws GLib.Error;
                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);
                public void prepend_search_path (string path);
index 6629d6db72b902bb3ce93efc1f408219162cbc1a..aa30486a9970f9988bd83ed20980ca900009a3eb 100644 (file)
@@ -213,6 +213,7 @@ 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_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"
 gtk_icon_theme_choose_icon transfer_ownership="1"
 gtk_icon_theme_choose_icon.icon_names no_array_length="1" array_null_terminated="1"