From: Oliver Sauder Date: Wed, 27 Apr 2011 21:45:39 +0000 (+0200) Subject: gio-2.0: Make return value for File.query_filesystem_info be owned X-Git-Tag: 0.12.1~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6f59d3962d70d6fa2914a6b2a22789ce44a5d1b;p=thirdparty%2Fvala.git gio-2.0: Make return value for File.query_filesystem_info be owned Fixes bug 648814. --- diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi index 3ca8ce789..3596c1b3f 100644 --- a/vapi/gio-2.0.vapi +++ b/vapi/gio-2.0.vapi @@ -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; diff --git a/vapi/packages/gio-2.0/gio-2.0.metadata b/vapi/packages/gio-2.0/gio-2.0.metadata index 368354225..c77ade515 100644 --- a/vapi/packages/gio-2.0/gio-2.0.metadata +++ b/vapi/packages/gio-2.0/gio-2.0.metadata @@ -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"