GMount* g_file_find_enclosing_mount ( GFile* file, GCancellable* cancellable, GError** error )
GMount for the
GMount is returned only for user interesting locations, see
GVolumeMonitor. If the
file does not have a #mount,
error will be set to
NULL #will be returned.
cancellable is not
NULL, then the operation can be cancelled by
triggering the cancellable object from another thread. If the operation
was cancelled, the error
G_IO_ERROR_CANCELLED will be returned.
|The argument can be |
|The data is owned by the caller of the function.|
|The return location for a
|The caller of the method takes ownership of the data, and is responsible for freeing it.|