]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-2.0, gtk+-3.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)
committerEvan Nemerson <evan@coeus-group.com>
Thu, 11 Nov 2010 05:27:26 +0000 (21:27 -0800)
vapi/gtk+-2.0.vapi
vapi/gtk+-3.0.vapi
vapi/packages/gtk+-2.0/gtk+-2.0.metadata
vapi/packages/gtk+-3.0/gtk+-3.0.metadata

index d74333e00002051e496d8a6bba569ab4055f7029..dcda1a7aae6dbec999974ee076debb178af5df75 100644 (file)
@@ -2090,7 +2090,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 b04430f1db591f4819a4be3ec1eaba1e0bdb8c05..f9cdeaf2b5631d1fb02e32671c45c2a3abd0c872 100644 (file)
@@ -1970,7 +1970,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 941f62788c9baf9754578f3f7aff590845be89c9..a25d13c9af90ef8c3680640d7f562eac61202e8d 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"
index c311dc9a3979efed8a83ca7db5d00f3a9f194f45..7cdb3df3ad91c88301776f9746641c0589b88672 100644 (file)
@@ -214,6 +214,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"