]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gio-2.0: make File.parse_name return value transfer ownership
authorEvan Nemerson <evan@coeus-group.com>
Sun, 28 Aug 2011 20:19:06 +0000 (13:19 -0700)
committerEvan Nemerson <evan@coeus-group.com>
Sun, 28 Aug 2011 20:20:39 +0000 (13:20 -0700)
vapi/gio-2.0.vapi
vapi/packages/gio-2.0/gio-2.0.metadata

index df0a30fc250c1a7d37eb65befd97a6e5a9ade737..8bb8a22f1deec42c267eac6c07557c5bf01cdd33 100644 (file)
@@ -1908,7 +1908,7 @@ namespace GLib {
                public static GLib.File new_for_uri (string uri);
                public abstract unowned GLib.FileIOStream open_readwrite (GLib.Cancellable? cancellable = null) throws GLib.Error;
                public abstract async unowned GLib.FileIOStream open_readwrite_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
-               public static unowned GLib.File parse_name (string parse_name);
+               public static GLib.File parse_name (string parse_name);
                public abstract async bool poll_mountable (GLib.Cancellable? cancellable = null) throws GLib.Error;
                [NoWrapper]
                public abstract bool prefix_matches (GLib.File file);
index 5b663eb69539f358e6bbb6ca97fdec3fe86079ba..3f0fedf25e62c7d38b157721668bbc04612e988f 100644 (file)
@@ -162,6 +162,7 @@ g_file_move.progress_callback_data hidden="1"
 g_file_new_for_commandline_arg transfer_ownership="1"
 g_file_new_for_path transfer_ownership="1"
 g_file_new_for_uri transfer_ownership="1"
+g_file_parse_name transfer_ownership="1"
 g_file_poll_mountable async="1"
 g_file_query_default_handler transfer_ownership="1"
 g_file_query_filesystem_info transfer_ownership="1"