DriveIF.eject

Asynchronously ejects a drive.

When the operation is finished, @callback will be called. You can then call g_drive_eject_finish() to obtain the result of the operation.

More...
interface DriveIF
void
eject
(
GMountUnmountFlags flags
,,
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 to pass to @callback

Detailed Description

Deprecated: Use g_drive_eject_with_operation() instead.

Meta