]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gio-2.0: Fix g_file_mount_enclosing_volume binding
authorPhilipp Zabel <philipp.zabel@gmail.com>
Sun, 27 Sep 2009 20:30:56 +0000 (22:30 +0200)
committerJürg Billeter <j@bitron.ch>
Sun, 27 Sep 2009 20:30:56 +0000 (22:30 +0200)
vapi/gio-2.0.vapi
vapi/packages/gio-2.0/gio-2.0.metadata

index 793d91db52b1a67beabcffc1bcd05dd02f4ec346..7e45ae3136cd6f966f49df48c5b77cb2e60e2bd1 100644 (file)
@@ -1028,7 +1028,7 @@ namespace GLib {
                [CCode (vfunc_name = "monitor_dir")]
                public abstract GLib.FileMonitor monitor_directory (GLib.FileMonitorFlags flags, GLib.Cancellable? cancellable = null) throws GLib.IOError;
                public abstract GLib.FileMonitor monitor_file (GLib.FileMonitorFlags flags, GLib.Cancellable? cancellable = null) throws GLib.IOError;
-               public abstract void mount_enclosing_volume (GLib.MountMountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback? callback);
+               public abstract async bool mount_enclosing_volume (GLib.MountMountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable) throws GLib.Error;
                public abstract bool mount_enclosing_volume_finish (GLib.AsyncResult _result) throws GLib.Error;
                public abstract void mount_mountable (GLib.MountMountFlags flags, GLib.MountOperation? mount_operation, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback? callback);
                public abstract unowned GLib.File mount_mountable_finish (GLib.AsyncResult _result) throws GLib.Error;
index 1ca9522622a15ce7ada77b307360dce1b947a9f5..e458e868b0f9f288c74c6cd63ae00c64b9076cbf 100644 (file)
@@ -48,6 +48,7 @@ GFileMonitor::changed.other_file nullable="1"
 g_file_monitor_directory hidden="1"
 g_file_monitor_dir hidden="1"
 g_file_monitor_file hidden="1"
+g_file_mount_enclosing_volume async="1"
 g_file_move.progress_callback_data hidden="1"
 g_file_new_for_commandline_arg transfer_ownership="1"
 g_file_new_for_path transfer_ownership="1"