diff options
author | Cosimo Cecchi <cosimo.cecchi@collabora.co.uk> | 2009-05-24 18:55:08 +0800 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2009-06-01 23:53:24 +0800 |
commit | 67d4fbf275c98ed8478818cd8ee8d6e5d6c83844 (patch) | |
tree | 700c1a1d6fbe06ef9d0b3016a9d382d308f0fc4f /libempathy/empathy-call-handler.c | |
parent | ab09ea63588d1b00e3ec3474546f181e041af6e4 (diff) | |
download | gsoc2013-empathy-67d4fbf275c98ed8478818cd8ee8d6e5d6c83844.tar gsoc2013-empathy-67d4fbf275c98ed8478818cd8ee8d6e5d6c83844.tar.gz gsoc2013-empathy-67d4fbf275c98ed8478818cd8ee8d6e5d6c83844.tar.bz2 gsoc2013-empathy-67d4fbf275c98ed8478818cd8ee8d6e5d6c83844.tar.lz gsoc2013-empathy-67d4fbf275c98ed8478818cd8ee8d6e5d6c83844.tar.xz gsoc2013-empathy-67d4fbf275c98ed8478818cd8ee8d6e5d6c83844.tar.zst gsoc2013-empathy-67d4fbf275c98ed8478818cd8ee8d6e5d6c83844.zip |
Use the new API in the call handler
Diffstat (limited to 'libempathy/empathy-call-handler.c')
-rw-r--r-- | 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 3172499d9..cd623c17e 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")) |