diff options
author | Debarshi Ray <debarshir@gnome.org> | 2014-10-23 16:13:36 +0200 |
---|---|---|
committer | Debarshi Ray <debarshir@gnome.org> | 2014-10-29 13:44:43 +0100 |
commit | 3150f9d3090c5253fd8761644a8c99dfd1ebb947 (patch) | |
tree | 125c8d63794605d702b8c565f5c27e43eb50470f | |
parent | 1e1a172fc79ca993c0f311c9e3178366489cebfa (diff) | |
download | gvfs-3150f9d3090c5253fd8761644a8c99dfd1ebb947.tar.gz |
client: Always set an error if we don't have a mount
https://bugzilla.gnome.org/show_bug.cgi?id=739075
-rw-r--r-- | client/gdaemonfile.c | 6 |
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); |