]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gio-2.0: GLib.Icon.to_string() return value is not unowned
authorLuca Bruno <lethalman88@gmail.com>
Sat, 28 Aug 2010 09:52:44 +0000 (11:52 +0200)
committerJürg Billeter <j@bitron.ch>
Sat, 4 Sep 2010 14:57:27 +0000 (16:57 +0200)
Fixes bug 628119.

vapi/gio-2.0.vapi
vapi/packages/gio-2.0/gio-2.0.metadata

index 5dab9c6b877c7017457f418c448efdb51adc28a8..940b6ae53523da279eea41ea5e99bfdfcf1aea29 100644 (file)
@@ -1537,7 +1537,7 @@ namespace GLib {
                public abstract unowned GLib.Icon from_tokens (string tokens, int num_tokens, int version) throws GLib.Error;
                public abstract uint hash (void* icon);
                public static unowned GLib.Icon new_for_string (string str) throws GLib.Error;
-               public unowned string to_string ();
+               public string to_string ();
                [NoWrapper]
                public abstract bool to_tokens (GLib.GenericArray tokens, int out_version);
        }
index 95e41d301a1b311b962f514564fdd0a1b13fcf66..4a5e9db1c3850c139ba4d9ec45a7213dd8917cc3 100644 (file)
@@ -109,6 +109,7 @@ g_file_start_mountable async="1"
 g_file_stop_mountable async="1"
 g_file_unmount_mountable async="1"
 g_file_unmount_mountable_with_operation async="1"
+g_icon_to_string transfer_ownership="1"
 g_inet_address_to_string transfer_ownership="1"
 g_inet_address_to_bytes type_name="uint8" is_array="1" no_array_length="1"
 g_initable_new.cancellable nullable="1"