summaryrefslogtreecommitdiff
path: root/daemon/mount.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/mount.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/mount.c')
-rw-r--r--daemon/mount.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/mount.c b/daemon/mount.c
index a736cde4..7b58dc4f 100644
--- a/daemon/mount.c
+++ b/daemon/mount.c
@@ -291,6 +291,7 @@ dbus_mount_reply (GVfsDBusMountable *proxy,
mount_finish (data, NULL);
else
{
+ g_dbus_error_strip_remote_error (error);
g_warning ("dbus_mount_reply: Error from org.gtk.vfs.Mountable.mount(): %s", error->message);
mount_finish (data, error);
g_error_free (error);