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); } }