summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/gdaemonfile.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/client/gdaemonfile.c b/client/gdaemonfile.c
index 88f53b0d..d16ac09b 100644
--- a/client/gdaemonfile.c
+++ b/client/gdaemonfile.c
@@ -3495,6 +3495,12 @@ find_enclosing_mount_cb (GMountInfo *mount_info,
goto out;
}
+ g_simple_async_result_set_error (data->result, G_IO_ERROR,
+ G_IO_ERROR_NOT_FOUND,
+ /* translators: this is an error message when there is no user visible "mount" object
+ corresponding to a particular path/uri */
+ _("Could not find enclosing mount"));
+
out:
_g_simple_async_result_complete_with_cancellable (data->result, data->cancellable);