MountT.unmount

Warning g_mount_unmount has been deprecated since version 2.22 and should not be used in newly-written code. Use g_mount_unmount_with_operation() instead. Unmounts a mount. This is an asynchronous operation, and is finished by calling g_mount_unmount_finish() with the mount and GAsyncResult data returned in the callback.

Parameters

flags GMountUnmountFlags

flags affecting the operation

cancellable Cancellable

optional GCancellable object, NULL to ignore. [allow-none]

callback GAsyncReadyCallback

a GAsyncReadyCallback, or NULL. [allow-none]

userData void*

user data passed to callback.

Meta