aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-call.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-06-22 17:42:54 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-06-22 17:59:34 +0800
commitd22972c5b30ef8b771a148e57d80a9f4d54424c8 (patch)
treec47969cf210b19c921583cb1c98ab4aa888affc0 /libempathy/empathy-tp-call.c
parent31e110e96745858e11fce4fffab2334d5e32a873 (diff)
downloadgsoc2013-empathy-d22972c5b30ef8b771a148e57d80a9f4d54424c8.tar
gsoc2013-empathy-d22972c5b30ef8b771a148e57d80a9f4d54424c8.tar.gz
gsoc2013-empathy-d22972c5b30ef8b771a148e57d80a9f4d54424c8.tar.bz2
gsoc2013-empathy-d22972c5b30ef8b771a148e57d80a9f4d54424c8.tar.lz
gsoc2013-empathy-d22972c5b30ef8b771a148e57d80a9f4d54424c8.tar.xz
gsoc2013-empathy-d22972c5b30ef8b771a148e57d80a9f4d54424c8.tar.zst
gsoc2013-empathy-d22972c5b30ef8b771a148e57d80a9f4d54424c8.zip
remove empathy_tp_call_to
We don't need it any more: - The TpContact is now always set during object construction - The status is changed once the contact has been set - We don't need to request streams any more as we use Initial{Audio,Video}
Diffstat (limited to 'libempathy/empathy-tp-call.c')
-rw-r--r--libempathy/empathy-tp-call.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/libempathy/empathy-tp-call.c b/libempathy/empathy-tp-call.c
index 583e9fc9f..16689e608 100644
--- a/libempathy/empathy-tp-call.c
+++ b/libempathy/empathy-tp-call.c
@@ -316,28 +316,6 @@ tp_call_update_status (EmpathyTpCall *call)
g_object_unref (call);
}
-void
-empathy_tp_call_to (EmpathyTpCall *call, EmpathyContact *contact,
- gboolean audio, gboolean video)
-{
- EmpathyTpCallPriv *priv = GET_PRIV (call);
- EmpathyCapabilities capabilities = 0;
-
- g_assert (audio || video);
-
- priv->contact = g_object_ref (contact);
- priv->status = EMPATHY_TP_CALL_STATUS_PENDING;
- g_object_notify (G_OBJECT (call), "contact");
- g_object_notify (G_OBJECT (call), "status");
-
- if (video)
- capabilities |= EMPATHY_CAPABILITIES_VIDEO;
- if (audio)
- capabilities |= EMPATHY_CAPABILITIES_AUDIO;
-
- tp_call_request_streams_for_capabilities (call, capabilities);
-}
-
static void
tp_call_channel_invalidated_cb (TpChannel *channel,
GQuark domain,