[glibmm] fix accidental bug in Gio::Drive::eject() that the compiler warned me about
- From: Jonathon Jongsma <jjongsma src gnome org>
- To: svn-commits-list gnome org
- Subject: [glibmm] fix accidental bug in Gio::Drive::eject() that the compiler warned me about
- Date: Thu, 9 Jul 2009 22:06:46 +0000 (UTC)
commit 48932911e530257c7bc0ea5bfd8a13222e94a3db
Author: Jonathon Jongsma <jonathon quotidian org>
Date: Thu Jul 9 22:56:35 2009 +0100
fix accidental bug in Gio::Drive::eject() that the compiler warned me about
ChangeLog | 5 +++++
gio/src/drive.ccg | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 375e4a5..be50b45 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2009-07-09 Jonathon Jongsma <jonathon quotidian org>
+ * gio/src/drive.ccg: fix accidental bug in Gio::Drive::eject() that
+ the compiler warned me about
+
+2009-07-09 Jonathon Jongsma <jonathon quotidian org>
+
* gio/src/volume.ccg:
* gio/src/volume.hg: implement eject_with_operation()
similarly to the GDrive methods mentioned below
diff --git a/gio/src/drive.ccg b/gio/src/drive.ccg
index efa89c6..4741f81 100644
--- a/gio/src/drive.ccg
+++ b/gio/src/drive.ccg
@@ -79,7 +79,7 @@ void Drive::eject(const Glib::RefPtr<MountOperation>& mount_operation, const Slo
g_drive_eject_with_operation(gobj(),
static_cast<GMountUnmountFlags>(flags),
- 0, // mount_operation
+ mount_operation->gobj(),
0, // cancellable
&SignalProxy_async_callback,
slot_copy);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]