[empathy: 126/148] Use the new API in the call handler
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: svn-commits-list gnome org
- Subject: [empathy: 126/148] Use the new API in the call handler
- Date: Mon, 1 Jun 2009 12:18:25 -0400 (EDT)
commit 67d4fbf275c98ed8478818cd8ee8d6e5d6c83844
Author: Cosimo Cecchi <cosimo cecchi collabora co uk>
Date: Sun May 24 12:55:08 2009 +0200
Use the new API in the call handler
---
libempathy/empathy-call-handler.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/libempathy/empathy-call-handler.c b/libempathy/empathy-call-handler.c
index 3172499..cd623c1 100644
--- a/libempathy/empathy-call-handler.c
+++ b/libempathy/empathy-call-handler.c
@@ -544,8 +544,9 @@ empathy_call_handler_start_call (EmpathyCallHandler *handler)
dispatcher = empathy_dispatcher_dup_singleton ();
connection = empathy_contact_get_connection (priv->contact);
- allowed = empathy_dispatcher_find_channel_class (dispatcher, connection,
- TP_IFACE_CHANNEL_TYPE_STREAMED_MEDIA, TP_HANDLE_TYPE_CONTACT);
+ allowed = empathy_dispatcher_find_requestable_channel_classes
+ (dispatcher, connection, TP_IFACE_CHANNEL_TYPE_STREAMED_MEDIA,
+ TP_HANDLE_TYPE_CONTACT, NULL);
if (!tp_strv_contains ((const gchar * const *) allowed,
TP_IFACE_CHANNEL ".TargetHandle"))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]