VolumeIF.eject

Warning g_volume_eject has been deprecated since version 2.22 and should not be used in newly-written code. Use g_volume_eject_with_operation() instead. Ejects a volume. This is an asynchronous operation, and is finished by calling g_volume_eject_finish() with the volume and GAsyncResult returned in the callback.

Parameters

flags GMountUnmountFlags

flags affecting the unmount if required for eject

cancellable Cancellable

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

callback GAsyncReadyCallback

a GAsyncReadyCallback, or NULL. [allow-none]

userData void*

user data that gets passed to callback

Meta