diff options
author | Tomas Bzatek <tbzatek@redhat.com> | 2012-07-27 11:57:57 +0200 |
---|---|---|
committer | Tomas Bzatek <tbzatek@redhat.com> | 2012-07-31 11:59:38 +0200 |
commit | 564b6556c93cb1bf36ccd02138c73df263c342cf (patch) | |
tree | 9c67c64198803eac71218064fa50613e9c4b4df3 | |
parent | 4a88ed63cfce1130698ee5241c95e532c7a7ad74 (diff) | |
download | gvfs-564b6556c93cb1bf36ccd02138c73df263c342cf.tar.gz |
gdbus: More errors to strip
-rw-r--r-- | common/gmountsource.c | 3 | ||||
-rw-r--r-- | daemon/gvfsbackend.c | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/common/gmountsource.c b/common/gmountsource.c index 5375adbb..c21f5fc5 100644 --- a/common/gmountsource.c +++ b/common/gmountsource.c @@ -234,6 +234,7 @@ ask_password_reply (GVfsDBusMountOperation *proxy, &error)) { data->aborted = TRUE; + g_dbus_error_strip_remote_error (error); g_simple_async_result_take_error (result, error); } else @@ -544,6 +545,7 @@ ask_question_reply (GVfsDBusMountOperation *proxy, &error)) { data->aborted = TRUE; + g_dbus_error_strip_remote_error (error); g_simple_async_result_take_error (result, error); } else @@ -750,6 +752,7 @@ show_processes_reply (GVfsDBusMountOperation *proxy, &error)) { data->aborted = TRUE; + g_dbus_error_strip_remote_error (error); g_simple_async_result_take_error (result, error); } else 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); |