VolumeT.eject

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.

More...
template VolumeT(TStruct)
void
eject
(
GMountUnmountFlags flags
,
Cancellable cancellable
,
GAsyncReadyCallback callback
,
void* userData
)

Parameters

flags GMountUnmountFlags

flags affecting the unmount if required for eject

cancellable Cancellable

optional #GCancellable object, %NULL to ignore

callback GAsyncReadyCallback

a #GAsyncReadyCallback, or %NULL

userData void*

user data that gets passed to @callback

Detailed Description

Deprecated: Use g_volume_eject_with_operation() instead.

Meta