summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.co.uk>2012-04-12 09:35:40 +0200
committerXavier Claessens <xavier.claessens@collabora.co.uk>2012-04-12 09:38:48 +0200
commit5f0dfd10a764a36dc15f18e9bc943660c7fbe571 (patch)
treedb498ab00da6d7cd2603cf5ea7e002680f859c53
parentd7f7b26aeb4d15bb9be8ad838118c564f7e68d3b (diff)
Use tp_channel_close_async()
-rw-r--r--src/client.c2
-rw-r--r--src/service.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/client.c b/src/client.c
index 09d22be..cb359b2 100644
--- a/src/client.c
+++ b/src/client.c
@@ -61,7 +61,7 @@ leave (ClientContext *context)
{
if (context->channel != NULL &&
tp_proxy_get_invalidated (context->channel) == NULL)
- tp_cli_channel_call_close (context->channel, -1, NULL, NULL, NULL, NULL);
+ tp_channel_close_async (context->channel, NULL, NULL);
else
g_main_loop_quit (context->loop);
}
diff --git a/src/service.c b/src/service.c
index 5134497..7eb1c02 100644
--- a/src/service.c
+++ b/src/service.c
@@ -51,7 +51,7 @@ session_complete (TpChannel *channel, const GError *error)
error ? error->message : "No error message");
}
- tp_cli_channel_call_close (channel, -1, NULL, NULL, NULL, NULL);
+ tp_channel_close_async (channel, NULL, NULL);
}
static void