[vala] gnome-vfs-2.0: fix ownership and type arguments on several methods



commit c9f93205fe8332d7b47affd53ef856abff12d64c
Author: Evan Nemerson <evan coeus-group com>
Date:   Sat Apr 10 11:51:21 2010 -0700

    gnome-vfs-2.0: fix ownership and type arguments on several methods

 vapi/gnome-vfs-2.0.vapi                            |    6 +++---
 vapi/packages/gnome-vfs-2.0/gnome-vfs-2.0.metadata |    3 +++
 2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/vapi/gnome-vfs-2.0.vapi b/vapi/gnome-vfs-2.0.vapi
index ffa60ce..25d8f07 100644
--- a/vapi/gnome-vfs-2.0.vapi
+++ b/vapi/gnome-vfs-2.0.vapi
@@ -127,7 +127,7 @@ namespace GnomeVFS {
 		public unowned string get_icon ();
 		public ulong get_id ();
 		public unowned GnomeVFS.Volume get_mounted_volume ();
-		public unowned GLib.List get_mounted_volumes ();
+		public GLib.List<GnomeVFS.Volume> get_mounted_volumes ();
 		public bool is_connected ();
 		public bool is_mounted ();
 		public bool is_user_visible ();
@@ -527,10 +527,10 @@ namespace GnomeVFS {
 	}
 	[CCode (type_check_function = "GNOME_IS_VFS_VOLUME_MONITOR", cheader_filename = "libgnomevfs/gnome-vfs.h")]
 	public class VolumeMonitor : GLib.Object {
-		public unowned GLib.List get_connected_drives ();
+		public GLib.List<GnomeVFS.Drive> get_connected_drives ();
 		public unowned GnomeVFS.Drive get_drive_by_id (ulong id);
 		public unowned GLib.List get_mounted_volumes ();
-		public unowned GnomeVFS.Volume get_volume_by_id (ulong id);
+		public GnomeVFS.Volume get_volume_by_id (ulong id);
 		public unowned GnomeVFS.Volume get_volume_for_path (string path);
 		public unowned GnomeVFS.VolumeMonitor @ref ();
 		public void unref ();
diff --git a/vapi/packages/gnome-vfs-2.0/gnome-vfs-2.0.metadata b/vapi/packages/gnome-vfs-2.0/gnome-vfs-2.0.metadata
index 0c552a9..26165b8 100644
--- a/vapi/packages/gnome-vfs-2.0/gnome-vfs-2.0.metadata
+++ b/vapi/packages/gnome-vfs-2.0/gnome-vfs-2.0.metadata
@@ -1,6 +1,7 @@
 GnomeVFS cheader_filename="libgnomevfs/gnome-vfs.h"
 gnome_vfs_address_new_from_sockaddr hidden="1"
 GnomeVFSDrive type_check_function="GNOME_IS_VFS_DRIVE"
+gnome_vfs_drive_get_mounted_volumes transfer_ownership="1" type_arguments="Volume"
 GnomeVFSFileInfo.device hidden="1"
 GnomeVFSFileSize hidden="1"
 GnomeVFSMimeApplication cheader_filename="libgnomevfs/gnome-vfs-mime-handlers.h"
@@ -9,6 +10,8 @@ GnomeVFSMimeApplication.requires_terminal hidden="1"
 gnome_vfs_mime_application_copy transfer_ownership="1"
 GnomeVFSVolume type_check_function="GNOME_IS_VFS_VOLUME"
 GnomeVFSVolumeMonitor type_check_function="GNOME_IS_VFS_VOLUME_MONITOR"
+gnome_vfs_volume_monitor_get_connected_drives transfer_ownership="1" type_arguments="Drive"
+gnome_vfs_volume_monitor_get_volume_by_id transfer_ownership="1"
 gnome_vfs_async_xfer.update_callback_data hidden="1"
 gnome_vfs_async_xfer.progress_sync_callback nullable="1"
 gnome_vfs_async_xfer.sync_callback_data hidden="1"



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