From 9c6964da2c58f5ee91239ed78ae7cda172b8b405 Mon Sep 17 00:00:00 2001 From: John Maguire Date: Wed, 26 Oct 2011 12:06:51 +0200 Subject: [PATCH] Remove another deprecated glib function call. --- src/devices/giolister.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/devices/giolister.cpp b/src/devices/giolister.cpp index b63322ad9..b2419514f 100644 --- a/src/devices/giolister.cpp +++ b/src/devices/giolister.cpp @@ -501,8 +501,13 @@ void GioLister::UnmountDevice(const QString &id) { (GAsyncReadyCallback) MountEjectFinished, NULL); } else if (g_mount_can_unmount(info.mount)) { - g_mount_unmount(info.mount, G_MOUNT_UNMOUNT_NONE, NULL, - (GAsyncReadyCallback) MountUnmountFinished, NULL); + g_mount_unmount_with_operation( + info.mount, + G_MOUNT_UNMOUNT_NONE, + NULL, + NULL, + (GAsyncReadyCallback) MountUnmountFinished, + NULL); } }