Method

GioFileeject_mountable_with_operation_finish

Declaration

gboolean
g_file_eject_mountable_with_operation_finish (
  GFile* file,
  GAsyncResult* result,
  GError** error
)

Description

Finishes an asynchronous eject operation started by g_file_eject_mountable_with_operation().

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 file was ejected successfully. FALSE otherwise.