Method

GioVolumeeject_with_operation_finish

Declaration

gboolean
g_volume_eject_with_operation_finish (
  GVolume* volume,
  GAsyncResult* result,
  GError** error
)

Description

Finishes ejecting a volume. 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 volume was successfully ejected. FALSE otherwise.