Remove another deprecated glib function call.
This commit is contained in:
parent
01f3f5c5ea
commit
9c6964da2c
|
@ -501,8 +501,13 @@ void GioLister::UnmountDevice(const QString &id) {
|
||||||
(GAsyncReadyCallback) MountEjectFinished,
|
(GAsyncReadyCallback) MountEjectFinished,
|
||||||
NULL);
|
NULL);
|
||||||
} else if (g_mount_can_unmount(info.mount)) {
|
} else if (g_mount_can_unmount(info.mount)) {
|
||||||
g_mount_unmount(info.mount, G_MOUNT_UNMOUNT_NONE, NULL,
|
g_mount_unmount_with_operation(
|
||||||
(GAsyncReadyCallback) MountUnmountFinished, NULL);
|
info.mount,
|
||||||
|
G_MOUNT_UNMOUNT_NONE,
|
||||||
|
NULL,
|
||||||
|
NULL,
|
||||||
|
(GAsyncReadyCallback) MountUnmountFinished,
|
||||||
|
NULL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue