[vala/0.10] gtk+-2.0: Mark IconTheme.load_icon as transferring ownership
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.10] gtk+-2.0: Mark IconTheme.load_icon as transferring ownership
- Date: Thu, 23 Dec 2010 14:52:05 +0000 (UTC)
commit 19a0f44c262a11ddccfbfd729874bff95c9f5686
Author: Evan Nemerson <evan coeus-group com>
Date: Wed Nov 10 21:27:26 2010 -0800
gtk+-2.0: Mark IconTheme.load_icon as transferring ownership
vapi/gtk+-2.0.vapi | 2 +-
vapi/packages/gtk+-2.0/gtk+-2.0.metadata | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index a1d8b8c..1c92b68 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -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);
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index 6629d6d..aa30486 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]