]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gio-2.0: Make return value for File.query_filesystem_info be owned
authorOliver Sauder <os@esite.ch>
Wed, 27 Apr 2011 21:45:39 +0000 (23:45 +0200)
committerJürg Billeter <j@bitron.ch>
Sun, 29 May 2011 09:19:50 +0000 (11:19 +0200)
Fixes bug 648814.

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

index 3ca8ce7890080ca0a598f71cef9b2eec693619e3..3596c1b3fc030fc2f59f6e704e32c5f0e0bd5e1c 100644 (file)
@@ -1788,7 +1788,7 @@ namespace GLib {
                public GLib.AppInfo query_default_handler (GLib.Cancellable? cancellable = null) throws GLib.Error;
                public bool query_exists (GLib.Cancellable? cancellable = null);
                public GLib.FileType query_file_type (GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable = null);
-               public abstract unowned GLib.FileInfo query_filesystem_info (string attributes, GLib.Cancellable? cancellable = null) throws GLib.Error;
+               public abstract GLib.FileInfo query_filesystem_info (string attributes, GLib.Cancellable? cancellable = null) throws GLib.Error;
                public abstract async unowned GLib.FileInfo query_filesystem_info_async (string attributes, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
                public abstract GLib.FileInfo query_info (string attributes, GLib.FileQueryInfoFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
                public abstract async GLib.FileInfo query_info_async (string attributes, GLib.FileQueryInfoFlags flags, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
index 368354225646682a2125e84c884d7154880eaf3a..c77ade515fbe0c75da251b8f9ec66058e4e7fafc 100644 (file)
@@ -161,6 +161,7 @@ g_file_new_for_path transfer_ownership="1"
 g_file_new_for_uri 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"
 g_file_query_info transfer_ownership="1"
 g_file_query_info_finish transfer_ownership="1"
 g_file_read transfer_ownership="1"