Method

GioMountunmount_finish

Declaration

gboolean
g_mount_unmount_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.

Deprecated since:2.22

Use g_mount_unmount_with_operation_finish() instead.

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.