[vala] gio-2.0: Make return value for File.query_filesystem_info be owned



commit 62125d35b1a3c577e76b7bcb6ca2694ed36a69b9
Author: Oliver Sauder <os esite ch>
Date:   Wed Apr 27 23:45:39 2011 +0200

    gio-2.0: Make return value for File.query_filesystem_info be owned
    
    Fixes bug 648814.

 vapi/gio-2.0.vapi                      |    2 +-
 vapi/packages/gio-2.0/gio-2.0.metadata |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 6e86cac..ab13077 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 456f89a..620f146 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"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]