If the File for this does not have a mount (e.g. possibly a remote share), throws will be set to g_io_error_not_found and null will be returned.
If 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.
this |
input File |
cancellable |
optional Cancellable object, null to ignore |
a Mount where the this is located or null on error. Free the returned object with unref. |