[vala/0.10] gio-2.0: Fix ownership of two AppLaunchContext method return values.



commit dca67fc818a0c919ed35565d34509553ec78d1d9
Author: Evan Nemerson <evan coeus-group com>
Date:   Tue Sep 7 15:53:10 2010 -0700

    gio-2.0: Fix ownership of two AppLaunchContext method return values.

 vapi/gio-2.0.vapi                      |    4 ++--
 vapi/packages/gio-2.0/gio-2.0.metadata |    2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 940b6ae..6476dc5 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -27,8 +27,8 @@ namespace GLib {
 	public class AppLaunchContext : GLib.Object {
 		[CCode (has_construct_function = false)]
 		public AppLaunchContext ();
-		public virtual unowned string get_display (GLib.AppInfo info, GLib.List<GLib.File> files);
-		public virtual unowned string get_startup_notify_id (GLib.AppInfo info, GLib.List<GLib.File> files);
+		public virtual string get_display (GLib.AppInfo info, GLib.List<GLib.File> files);
+		public virtual string get_startup_notify_id (GLib.AppInfo info, GLib.List<GLib.File> files);
 		public virtual void launch_failed (string startup_notify_id);
 	}
 	[CCode (cheader_filename = "gio/gio.h")]
diff --git a/vapi/packages/gio-2.0/gio-2.0.metadata b/vapi/packages/gio-2.0/gio-2.0.metadata
index 4a5e9db..8e12941 100644
--- a/vapi/packages/gio-2.0/gio-2.0.metadata
+++ b/vapi/packages/gio-2.0/gio-2.0.metadata
@@ -5,7 +5,9 @@ g_app_info_launch.envp is_array="1"
 g_app_info_launch.launch_context nullable="1"
 g_app_info_launch_default_for_uri.launch_context nullable="1"
 g_app_info_launch_uris.envp is_array="1"
+g_app_launch_context_get_display transfer_ownership="1"
 g_app_launch_context_get_display.files type_arguments="File"
+g_app_launch_context_get_startup_notify_id transfer_ownership="1"
 g_app_launch_context_get_startup_notify_id.files type_arguments="File"
 GAsyncReadyCallback.source_object nullable="1"
 g_async_initable_new_async transfer_ownership="1"



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