VolumeT.eject

Ejects a volume. This is an asynchronous operation, and is finished by calling gio.volume.Volume.ejectFinish with the volume and #GAsyncResult 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.volume.Volume.ejectWithOperation instead.