Virtual Method

GioMountunmount_with_operation_finish

Declaration

gboolean
unmount_with_operation_finish (
  GMount* mount,
  GAsyncResult* result,
  GError** error
)

Description

Finishes unmounting a mount. 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

Type: GAsyncResult

A GAsyncResult.

The data is owned by the caller of the function.
error

Type: GError **

The return location for a GError*, or NULL.

Return value

Type: gboolean

TRUE if the mount was successfully unmounted. FALSE otherwise.