Mount.eject

Ejects a mount. This is an asynchronous operation, and is finished by calling gio.mount.Mount.ejectFinish with the mount and #GAsyncResult data returned in the callback.

More...

Parameters

flags gio.types.MountUnmountFlags

flags affecting the unmount if required for eject

cancellable gio.cancellable.Cancellable

optional #GCancellable object, null to ignore.

callback gio.types.AsyncReadyCallback

a #GAsyncReadyCallback, or null.

Detailed Description

Deprecated: Use gio.mount.Mount.ejectWithOperation instead.