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. Since 2.22
flags affecting the unmount if required for eject
a GMountOperation or NULL to avoid user interaction. [allow-none]
optional GCancellable object, NULL to ignore. [allow-none]
a GAsyncReadyCallback, or NULL. [allow-none]
user data passed to callback.
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. Since 2.22