summaryrefslogtreecommitdiff
path: root/daemon/gvfsbackend.c
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@redhat.com>2012-07-27 11:57:57 +0200
committerTomas Bzatek <tbzatek@redhat.com>2012-07-31 11:59:38 +0200
commit564b6556c93cb1bf36ccd02138c73df263c342cf (patch)
tree9c67c64198803eac71218064fa50613e9c4b4df3 /daemon/gvfsbackend.c
parent4a88ed63cfce1130698ee5241c95e532c7a7ad74 (diff)
gdbus: More errors to strip
Diffstat (limited to 'daemon/gvfsbackend.c')
-rw-r--r--daemon/gvfsbackend.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/daemon/gvfsbackend.c b/daemon/gvfsbackend.c
index 4f9c0121..ad27f637 100644
--- a/daemon/gvfsbackend.c
+++ b/daemon/gvfsbackend.c
@@ -642,6 +642,7 @@ register_mount_got_proxy_cb (GObject *source_object,
g_print ("register_mount_got_proxy_cb, proxy = %p\n", proxy);
if (proxy == NULL)
{
+ g_dbus_error_strip_remote_error (error);
result = g_simple_async_result_new_take_error (source_object,
data->callback, data->callback_data,
error);
@@ -716,6 +717,7 @@ unregister_mount_got_proxy_cb (GObject *source_object,
g_print ("unregister_mount_got_proxy_cb, proxy = %p\n", proxy);
if (proxy == NULL)
{
+ g_dbus_error_strip_remote_error (error);
result = g_simple_async_result_new_take_error (source_object,
data->callback, data->callback_data,
error);