From: Evan Nemerson Date: Sat, 10 Apr 2010 18:51:21 +0000 (-0700) Subject: gnome-vfs-2.0: fix ownership and type arguments on several methods X-Git-Tag: 0.9.1~146 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c9f93205fe8332d7b47affd53ef856abff12d64c;p=thirdparty%2Fvala.git gnome-vfs-2.0: fix ownership and type arguments on several methods --- diff --git a/vapi/gnome-vfs-2.0.vapi b/vapi/gnome-vfs-2.0.vapi index ffa60ce84..25d8f07ea 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 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 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 0c552a9c9..26165b8e0 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"