diff options
author | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-02-03 20:15:12 +0800 |
---|---|---|
committer | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-02-10 17:28:44 +0800 |
commit | 2766ed3e19cc8032eedef5cf5cb6ab302a57f63a (patch) | |
tree | 9f41c53a4e657a8882b4695d6e17591aa1c9838d /libempathy/empathy-call-factory.c | |
parent | 155c260f5a7ef39c5f1403e024363844cc67a0f2 (diff) | |
download | gsoc2013-empathy-2766ed3e19cc8032eedef5cf5cb6ab302a57f63a.tar gsoc2013-empathy-2766ed3e19cc8032eedef5cf5cb6ab302a57f63a.tar.gz gsoc2013-empathy-2766ed3e19cc8032eedef5cf5cb6ab302a57f63a.tar.bz2 gsoc2013-empathy-2766ed3e19cc8032eedef5cf5cb6ab302a57f63a.tar.lz gsoc2013-empathy-2766ed3e19cc8032eedef5cf5cb6ab302a57f63a.tar.xz gsoc2013-empathy-2766ed3e19cc8032eedef5cf5cb6ab302a57f63a.tar.zst gsoc2013-empathy-2766ed3e19cc8032eedef5cf5cb6ab302a57f63a.zip |
EmpathyTpCall -> EmpathyTpStreamedMedia
Diffstat (limited to 'libempathy/empathy-call-factory.c')
-rw-r--r-- | libempathy/empathy-call-factory.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libempathy/empathy-call-factory.c b/libempathy/empathy-call-factory.c index 49bc60de9..6e523aada 100644 --- a/libempathy/empathy-call-factory.c +++ b/libempathy/empathy-call-factory.c @@ -261,7 +261,7 @@ empathy_call_factory_new_call_with_streams (EmpathyContact *contact, static void create_call_handler (EmpathyCallFactory *factory, - EmpathyTpCall *call) + EmpathyTpStreamedMedia *call) { EmpathyCallHandler *handler; @@ -276,11 +276,11 @@ create_call_handler (EmpathyCallFactory *factory, } static void -call_status_changed_cb (EmpathyTpCall *call, +call_status_changed_cb (EmpathyTpStreamedMedia *call, GParamSpec *spec, EmpathyCallFactory *self) { - if (empathy_tp_call_get_status (call) <= EMPATHY_TP_CALL_STATUS_READYING) + if (empathy_tp_streamed_media_get_status (call) <= EMPATHY_TP_STREAMED_MEDIA_STATUS_READYING) return; create_call_handler (self, call); @@ -305,7 +305,7 @@ handle_channels_cb (TpSimpleHandler *handler, for (l = channels; l != NULL; l = g_list_next (l)) { TpChannel *channel = l->data; - EmpathyTpCall *call; + EmpathyTpStreamedMedia *call; if (tp_proxy_get_invalidated (channel) != NULL) continue; @@ -314,11 +314,11 @@ handle_channels_cb (TpSimpleHandler *handler, TP_IFACE_QUARK_CHANNEL_TYPE_STREAMED_MEDIA) continue; - call = empathy_tp_call_new (account, channel); + call = empathy_tp_streamed_media_new (account, channel); - if (empathy_tp_call_get_status (call) <= EMPATHY_TP_CALL_STATUS_READYING) + if (empathy_tp_streamed_media_get_status (call) <= EMPATHY_TP_STREAMED_MEDIA_STATUS_READYING) { - /* We have to wait that the TpCall is ready as the + /* We have to wait that the TpStreamedMedia is ready as the * call-handler rely on it. */ tp_g_signal_connect_object (call, "notify::status", G_CALLBACK (call_status_changed_cb), self, 0); |