summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/call-handler.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/call-handler.c b/examples/call-handler.c
index e8893c0..d907dd1 100644
--- a/examples/call-handler.c
+++ b/examples/call-handler.c
@@ -578,8 +578,7 @@ new_call_channel_cb (TpSimpleHandler *handler,
tp_handle_channels_context_accept (handler_context);
- tp_cli_channel_type_call1_call_accept (proxy, -1,
- NULL, NULL, NULL, NULL);
+ tp_call_channel_accept_async (TP_CALL_CHANNEL (proxy), NULL, NULL);
context->proxy = g_object_ref (proxy);
g_signal_connect (proxy, "invalidated",