Method

GioDriveeject_with_operation_finish

Declaration

gboolean
g_drive_eject_with_operation_finish (
  GDrive* drive,
  GAsyncResult* result,
  GError** error
)

Description

Finishes ejecting a drive. If any errors occurred during the operation, error will be set to contain the errors and FALSE will be returned.

Available since:2.22

Parameters

result GAsyncResult
 

A GAsyncResult.

 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE if the drive was successfully ejected. FALSE otherwise.