summaryrefslogtreecommitdiff
path: root/daemon/gvfsjobmount.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2012-08-24 14:16:33 +0200
committerAlexander Larsson <alexl@redhat.com>2012-08-24 14:17:27 +0200
commit17ac45d8cfaaabf8707287bc3e1e2f2c8e26aed1 (patch)
treed710807eb967296ab8e9961c8e8eb7414195ce34 /daemon/gvfsjobmount.c
parent30a2eacbfb83c128f1e3628c0346dcfab643f0fa (diff)
downloadgvfs-17ac45d8cfaaabf8707287bc3e1e2f2c8e26aed1.tar.gz
Strip dbus error strings from GError after all dbus calls.
https://bugzilla.gnome.org/show_bug.cgi?id=682384
Diffstat (limited to 'daemon/gvfsjobmount.c')
-rw-r--r--daemon/gvfsjobmount.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/gvfsjobmount.c b/daemon/gvfsjobmount.c
index da72444d..17fcde07 100644
--- a/daemon/gvfsjobmount.c
+++ b/daemon/gvfsjobmount.c
@@ -167,6 +167,7 @@ register_mount_callback (GVfsDBusMountTracker *proxy,
if (! gvfs_dbus_mount_tracker_call_register_mount_finish (proxy, res, &error))
{
+ g_dbus_error_strip_remote_error (error);
mount_failed (op_job, error);
}
else