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.
flags affecting the unmount if required for eject
optional gio.Cancellable object, NULL to ignore.
a GAsyncReadyCallback, or NULL.
user data to pass to callback
Deprecated: Use g_drive_eject_with_operation() instead.
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.