[vala] gio-2.0: make File.parse_name return value transfer ownership



commit 8ee1647bfc6121cf1c011e2584e268817b46bcd0
Author: Evan Nemerson <evan coeus-group com>
Date:   Sun Aug 28 13:19:06 2011 -0700

    gio-2.0: make File.parse_name return value transfer ownership

 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 df0a30f..8bb8a22 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -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);
diff --git a/vapi/packages/gio-2.0/gio-2.0.metadata b/vapi/packages/gio-2.0/gio-2.0.metadata
index 5b663eb..3f0fedf 100644
--- a/vapi/packages/gio-2.0/gio-2.0.metadata
+++ b/vapi/packages/gio-2.0/gio-2.0.metadata
@@ -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"



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