Ejects a drive. This is an asynchronous operation, and is finished by calling g_drive_eject_with_operation_finish() with the @drive and #GAsyncResult data returned in the @callback.
flags affecting the unmount if required for eject
a #GMountOperation or %NULL to avoid user interaction.
optional #GCancellable object, %NULL to ignore.
a #GAsyncReadyCallback, or %NULL.
user data passed to @callback.
2.22
See Implementation
Ejects a drive. This is an asynchronous operation, and is finished by calling g_drive_eject_with_operation_finish() with the @drive and #GAsyncResult data returned in the @callback.