diff options
author | Murray Cumming <murrayc@murrayc.com> | 2008-01-15 13:46:09 +0000 |
---|---|---|
committer | Murray Cumming <murrayc@src.gnome.org> | 2008-01-15 13:46:09 +0000 |
commit | 39956e13ba7527b61baef5fe54c965e872ebc4ed (patch) | |
tree | 1eb015d48dc7850defe62a8bf40813076a2f3496 /gio/src/volume.ccg | |
parent | 259072fc789551b9ef78e9093743036fa6f1565c (diff) | |
download | glibmm-39956e13ba7527b61baef5fe54c965e872ebc4ed.tar.gz |
*_async() functions: Rearrange the parameters, so the (optional)
2008-01-15 Murray Cumming <murrayc@murrayc.com>
* gio/src/drive.ccg:
* gio/src/drive.hg:
* gio/src/file.ccg:
* gio/src/file.hg:
* gio/src/fileenumerator.ccg:
* gio/src/fileenumerator.hg:
* gio/src/fileinputstream.ccg:
* gio/src/fileinputstream.hg:
* gio/src/fileoutputstream.ccg:
* gio/src/fileoutputstream.hg:
* gio/src/inputstream.ccg:
* gio/src/inputstream.hg:
* gio/src/outputstream.ccg:
* gio/src/outputstream.hg:
* gio/src/volume.ccg:
* gio/src/volume.hg: *_async() functions: Rearrange the parameters,
so the (optional) cancellable is always after the slot,
and so flags and io_priority are always at the end, so they can have
default values.
svn path=/trunk/; revision=510
Diffstat (limited to 'gio/src/volume.ccg')
-rw-r--r-- | gio/src/volume.ccg | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/gio/src/volume.ccg b/gio/src/volume.ccg index 4a07668b..2612e6ba 100644 --- a/gio/src/volume.ccg +++ b/gio/src/volume.ccg @@ -51,9 +51,7 @@ SignalProxy_async_callback(GObject*, GAsyncResult* res, void* data) namespace Gio { void -Volume::mount(const Glib::RefPtr<MountOperation>& mount_operation, - const Glib::RefPtr<Cancellable>& cancellable, - const SlotAsyncReady& slot) +Volume::mount(const Glib::RefPtr<MountOperation>& mount_operation, const SlotAsyncReady& slot,const Glib::RefPtr<Cancellable>& cancellable) { // Create a copy of the slot. // A pointer to it will be passed through the callback's data parameter @@ -69,8 +67,7 @@ Volume::mount(const Glib::RefPtr<MountOperation>& mount_operation, } void -Volume::mount(const Glib::RefPtr<MountOperation>& mount_operation, - const SlotAsyncReady& slot) +Volume::mount(const Glib::RefPtr<MountOperation>& mount_operation, const SlotAsyncReady& slot) { // Create a copy of the slot. // A pointer to it will be passed through the callback's data parameter @@ -84,7 +81,7 @@ Volume::mount(const Glib::RefPtr<MountOperation>& mount_operation, slot_copy); } -void Volume::eject(GMountUnmountFlags flags, const Glib::RefPtr<Cancellable>& cancellable, const SlotAsyncReady& slot) +void Volume::eject(GMountUnmountFlags flags, const SlotAsyncReady& slot, const Glib::RefPtr<Cancellable>& cancellable) { // Create a copy of the slot. // A pointer to it will be passed through the callback's data parameter |