summaryrefslogtreecommitdiff
path: root/telepathy-farstream
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2011-11-14 11:41:03 +0100
committerXavier Claessens <xclaesse@gmail.com>2011-11-28 16:08:13 +0100
commitbe275c179af47bd916f97b67b9ea631cadf8a407 (patch)
tree6186882b56c577f473f0592544ebc00a3b2947b8 /telepathy-farstream
parent6c1badeca33db73966163005796e966c5ce244ee (diff)
downloadtelepathy-farstream-be275c179af47bd916f97b67b9ea631cadf8a407.tar.gz
Use tp_call_channel_hangup_async() instead of corresponding tp_cli_
Diffstat (limited to 'telepathy-farstream')
-rw-r--r--telepathy-farstream/call-channel.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/telepathy-farstream/call-channel.c b/telepathy-farstream/call-channel.c
index a6ffda8..9311908 100644
--- a/telepathy-farstream/call-channel.c
+++ b/telepathy-farstream/call-channel.c
@@ -529,9 +529,8 @@ tf_call_channel_bus_message (TfCallChannel *channel,
void
tf_call_channel_error (TfCallChannel *channel)
{
- tp_cli_channel_type_call_call_hangup (channel->proxy,
- -1, TP_CALL_STATE_CHANGE_REASON_UNKNOWN, "", "",
- NULL, NULL, NULL, NULL);
+ tp_call_channel_hangup_async (TP_CALL_CHANNEL (channel->proxy),
+ TP_CALL_STATE_CHANGE_REASON_UNKNOWN, "", "", NULL, NULL);
}