]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gnome-vfs-2.0: fix ownership and type arguments on several methods
authorEvan Nemerson <evan@coeus-group.com>
Sat, 10 Apr 2010 18:51:21 +0000 (11:51 -0700)
committerEvan Nemerson <evan@coeus-group.com>
Sat, 10 Apr 2010 18:51:21 +0000 (11:51 -0700)
vapi/gnome-vfs-2.0.vapi
vapi/packages/gnome-vfs-2.0/gnome-vfs-2.0.metadata

index ffa60ce846c591e04f78cff39f7522f1685c1487..25d8f07ea002a6c47a6d2370f388003e36ffcfd1 100644 (file)
@@ -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 ();
index 0c552a9c9c78fa9855f94bfaf31650d27b394acc..26165b8e059a0ab1713ad630c868f93fb12750d3 100644 (file)
@@ -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"