MountIF.eject

Ejects a mount. This is an asynchronous operation, and is finished by calling g_mount_eject_finish() with the mount and GAsyncResult data returned in the callback.

More...

Parameters

flags GMountUnmountFlags

flags affecting the unmount if required for eject

cancellable Cancellable

optional gio.Cancellable object, NULL to ignore.

callback GAsyncReadyCallback
userData void*

user data passed to callback.

Detailed Description

Deprecated: Use g_mount_eject_with_operation() instead.