summaryrefslogtreecommitdiff
path: root/client/gdaemonfile.c
diff options
context:
space:
mode:
authorOndrej Holy <oholy@redhat.com>2016-12-12 09:48:53 +0100
committerOndrej Holy <oholy@redhat.com>2017-01-24 12:23:41 +0100
commit669f1e508fef82ce41f66523cbc75d10b0c1ce2b (patch)
tree1716a7a2efcbc18ddfbf6021229af44e630f363c /client/gdaemonfile.c
parentc210cccbbef22a11fcaaf93149ca196aaa30dd6d (diff)
downloadgvfs-669f1e508fef82ce41f66523cbc75d10b0c1ce2b.tar.gz
client: Do not modify caller's errors
Caller's errors are modified by g_dbus_error_strip_remote_error. Strip the dbus error in the caller directly. https://bugzilla.gnome.org/show_bug.cgi?id=747412
Diffstat (limited to 'client/gdaemonfile.c')
-rw-r--r--client/gdaemonfile.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/client/gdaemonfile.c b/client/gdaemonfile.c
index 4befb85d..abc81cf7 100644
--- a/client/gdaemonfile.c
+++ b/client/gdaemonfile.c
@@ -658,7 +658,6 @@ async_got_mount_info (GMountInfo *mount_info,
if (error != NULL)
{
- g_dbus_error_strip_remote_error (error);
g_task_return_error (data->task, g_error_copy (error));
async_proxy_create_free (data);
return;
@@ -3325,7 +3324,6 @@ find_enclosing_mount_cb (GMountInfo *mount_info,
if (error)
{
- g_dbus_error_strip_remote_error (error);
g_task_return_error (task, g_error_copy (error));
goto out;
}