Method

GioFilefind_enclosing_mount_finish

Declaration

GMount*
g_file_find_enclosing_mount_finish (
  GFile* file,
  GAsyncResult* res,
  GError** error
)

Description

Finishes an asynchronous find mount request. See g_file_find_enclosing_mount_async().

Parameters

res 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: GMount
 

GMount for given file or NULL on error. Free the returned object with g_object_unref().

 The caller of the method takes ownership of the data, and is responsible for freeing it.