[vala] gio-2.0: several GLib.VolumeMonitor methods falsely marked as unowned



commit 4e548b21b73b91c53600ba25dbb19e2592b38528
Author: Julian Andres Klode <jak jak-linux org>
Date:   Fri Mar 26 18:58:05 2010 -0700

    gio-2.0: several GLib.VolumeMonitor methods falsely marked as unowned
    
    Fixes bug 614044.

 vapi/gio-2.0.vapi                      |   12 ++++++------
 vapi/packages/gio-2.0/gio-2.0.metadata |    7 +++++++
 2 files changed, 13 insertions(+), 6 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 06e5722..5275479 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -874,12 +874,12 @@ namespace GLib {
 	[CCode (cheader_filename = "gio/gio.h")]
 	public class VolumeMonitor : GLib.Object {
 		public virtual unowned GLib.Volume adopt_orphan_mount (GLib.Mount mount);
-		public static unowned GLib.VolumeMonitor @get ();
-		public virtual unowned GLib.List get_connected_drives ();
-		public virtual unowned GLib.Mount get_mount_for_uuid (string uuid);
-		public virtual unowned GLib.List get_mounts ();
-		public virtual unowned GLib.Volume get_volume_for_uuid (string uuid);
-		public virtual unowned GLib.List get_volumes ();
+		public static GLib.VolumeMonitor @get ();
+		public virtual GLib.List get_connected_drives ();
+		public virtual GLib.Mount get_mount_for_uuid (string uuid);
+		public virtual GLib.List get_mounts ();
+		public virtual GLib.Volume get_volume_for_uuid (string uuid);
+		public virtual GLib.List get_volumes ();
 		[NoWrapper]
 		public virtual bool is_supported ();
 		public virtual signal void drive_changed (GLib.Drive drive);
diff --git a/vapi/packages/gio-2.0/gio-2.0.metadata b/vapi/packages/gio-2.0/gio-2.0.metadata
index d2de388..17defe2 100644
--- a/vapi/packages/gio-2.0/gio-2.0.metadata
+++ b/vapi/packages/gio-2.0/gio-2.0.metadata
@@ -160,3 +160,10 @@ g_settings_list_list.n_items hidden="1"
 g_simple_async_result_new.source_object nullable="1"
 
 GSocketService::incoming.source_object nullable="1"
+
+g_volume_monitor_get transfer_ownership="1"
+g_volume_monitor_get_connected_drives transfer_ownership="1"
+g_volume_monitor_get_mount_for_uuid transfer_ownership="1"
+g_volume_monitor_get_mounts transfer_ownership="1"
+g_volume_monitor_get_volume_for_uuid transfer_ownership="1"
+g_volume_monitor_get_volumes transfer_ownership="1"



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