aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-call-factory.c
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-02-03 20:15:12 +0800
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-02-03 23:00:33 +0800
commitd8d937bd964bda813cc2b33389f464d1dfbcb95f (patch)
treee0ecae470174da685c9e3eb3baf16abc6b75375f /libempathy/empathy-call-factory.c
parent9e808134b2d3770c1e23e1b7c3938b6ac2061ffb (diff)
downloadgsoc2013-empathy-d8d937bd964bda813cc2b33389f464d1dfbcb95f.tar
gsoc2013-empathy-d8d937bd964bda813cc2b33389f464d1dfbcb95f.tar.gz
gsoc2013-empathy-d8d937bd964bda813cc2b33389f464d1dfbcb95f.tar.bz2
gsoc2013-empathy-d8d937bd964bda813cc2b33389f464d1dfbcb95f.tar.lz
gsoc2013-empathy-d8d937bd964bda813cc2b33389f464d1dfbcb95f.tar.xz
gsoc2013-empathy-d8d937bd964bda813cc2b33389f464d1dfbcb95f.tar.zst
gsoc2013-empathy-d8d937bd964bda813cc2b33389f464d1dfbcb95f.zip
EmpathyTpCall -> EmpathyTpStreamedMedia
Diffstat (limited to 'libempathy/empathy-call-factory.c')
-rw-r--r--libempathy/empathy-call-factory.c14
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);