summaryrefslogtreecommitdiff
path: root/client/gdaemonmount.c
diff options
context:
space:
mode:
Diffstat (limited to 'client/gdaemonmount.c')
-rw-r--r--client/gdaemonmount.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/gdaemonmount.c b/client/gdaemonmount.c
index e3e32c10..9ecb0e02 100644
--- a/client/gdaemonmount.c
+++ b/client/gdaemonmount.c
@@ -209,7 +209,7 @@ unmount_reply (GVfsDBusMount *proxy,
if (! gvfs_dbus_mount_call_unmount_finish (proxy, res, &error))
{
- g_simple_async_result_take_error (data->result, error);
+ _g_simple_async_result_take_error_stripped (data->result, error);
}
_g_simple_async_result_complete_with_cancellable (data->result, data->cancellable);
@@ -231,7 +231,7 @@ async_proxy_new_cb (GObject *source_object,
g_print ("gdaemonmount.c: async_proxy_new_cb, proxy = %p\n", proxy);
if (proxy == NULL)
{
- g_simple_async_result_take_error (data->result, error);
+ _g_simple_async_result_take_error_stripped (data->result, error);
_g_simple_async_result_complete_with_cancellable (data->result, data->cancellable);
async_proxy_create_free (data);
return;
@@ -281,7 +281,7 @@ bus_get_cb (GObject *source_object,
if (connection == NULL)
{
- g_simple_async_result_set_from_error (data->result, error);
+ _g_simple_async_result_take_error_stripped (data->result, error);
_g_simple_async_result_complete_with_cancellable (data->result, data->cancellable);
async_proxy_create_free (data);
return;