aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-call-factory.c
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-02-19 01:05:33 +0800
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-06-09 17:20:05 +0800
commit3c218b8490700d973fb049037e37c3a3e58c11f7 (patch)
treec49e335106fb90affeb845576139073360375252 /src/empathy-call-factory.c
parent3c325292c4321da02ee0bc44a047202905767cc2 (diff)
downloadgsoc2013-empathy-3c218b8490700d973fb049037e37c3a3e58c11f7.tar
gsoc2013-empathy-3c218b8490700d973fb049037e37c3a3e58c11f7.tar.gz
gsoc2013-empathy-3c218b8490700d973fb049037e37c3a3e58c11f7.tar.bz2
gsoc2013-empathy-3c218b8490700d973fb049037e37c3a3e58c11f7.tar.lz
gsoc2013-empathy-3c218b8490700d973fb049037e37c3a3e58c11f7.tar.xz
gsoc2013-empathy-3c218b8490700d973fb049037e37c3a3e58c11f7.tar.zst
gsoc2013-empathy-3c218b8490700d973fb049037e37c3a3e58c11f7.zip
Use the new empathy_call_create_call_request thoroughly
Diffstat (limited to 'src/empathy-call-factory.c')
-rw-r--r--src/empathy-call-factory.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/src/empathy-call-factory.c b/src/empathy-call-factory.c
index 68ba2b2ba..029f8eca7 100644
--- a/src/empathy-call-factory.c
+++ b/src/empathy-call-factory.c
@@ -203,24 +203,6 @@ empathy_call_factory_get (void)
return EMPATHY_CALL_FACTORY (call_factory);
}
-GHashTable *
-empathy_call_factory_create_call_request (EmpathyContact *contact,
- gboolean initial_audio,
- gboolean initial_video)
-{
- return tp_asv_new (
- TP_PROP_CHANNEL_CHANNEL_TYPE, G_TYPE_STRING,
- TPY_IFACE_CHANNEL_TYPE_CALL,
- TP_PROP_CHANNEL_TARGET_HANDLE_TYPE, G_TYPE_UINT, TP_HANDLE_TYPE_CONTACT,
- TP_PROP_CHANNEL_TARGET_HANDLE, G_TYPE_UINT,
- empathy_contact_get_handle (contact),
- TPY_PROP_CHANNEL_TYPE_CALL_INITIAL_AUDIO, G_TYPE_BOOLEAN,
- initial_audio,
- TPY_PROP_CHANNEL_TYPE_CALL_INITIAL_VIDEO, G_TYPE_BOOLEAN,
- initial_video,
- NULL);
-}
-
static void
create_call_channel_cb (GObject *source,
GAsyncResult *result,
@@ -256,7 +238,7 @@ empathy_call_factory_new_call_with_streams (EmpathyContact *contact,
TpAccount *account;
TpAccountChannelRequest *call_req;
- call_request = empathy_call_factory_create_call_request (contact,
+ call_request = empathy_call_create_call_request (contact,
initial_audio, initial_video);
account = empathy_contact_get_account (contact);