mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-16 19:31:02 +01:00
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,
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user