aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-06-24 21:34:20 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-06-29 17:34:37 +0800
commit01e72ff82e7516cf71bdab66e107b8a3df3f1749 (patch)
treeaaa169dbbaa5eea902758db5815b5e1892b2cc67 /libempathy
parent661b357c331dca16c4ff0a075dd7f3982e028dce (diff)
downloadgsoc2013-empathy-01e72ff82e7516cf71bdab66e107b8a3df3f1749.tar
gsoc2013-empathy-01e72ff82e7516cf71bdab66e107b8a3df3f1749.tar.gz
gsoc2013-empathy-01e72ff82e7516cf71bdab66e107b8a3df3f1749.tar.bz2
gsoc2013-empathy-01e72ff82e7516cf71bdab66e107b8a3df3f1749.tar.lz
gsoc2013-empathy-01e72ff82e7516cf71bdab66e107b8a3df3f1749.tar.xz
gsoc2013-empathy-01e72ff82e7516cf71bdab66e107b8a3df3f1749.tar.zst
gsoc2013-empathy-01e72ff82e7516cf71bdab66e107b8a3df3f1749.zip
empathy_call_factory_new_call_with_streams: no need to pass a EmpathyCallFactory
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-call-factory.c3
-rw-r--r--libempathy/empathy-call-factory.h3
-rw-r--r--libempathy/empathy-call-handler.c4
3 files changed, 4 insertions, 6 deletions
diff --git a/libempathy/empathy-call-factory.c b/libempathy/empathy-call-factory.c
index 65ab88359..ab32d06ad 100644
--- a/libempathy/empathy-call-factory.c
+++ b/libempathy/empathy-call-factory.c
@@ -203,8 +203,7 @@ empathy_call_factory_get (void)
* Initiate a new call with @contact.
*/
void
-empathy_call_factory_new_call_with_streams (EmpathyCallFactory *factory,
- EmpathyContact *contact,
+empathy_call_factory_new_call_with_streams (EmpathyContact *contact,
gboolean initial_audio,
gboolean initial_video,
gint64 timestamp,
diff --git a/libempathy/empathy-call-factory.h b/libempathy/empathy-call-factory.h
index b9b812b8d..56d430ed4 100644
--- a/libempathy/empathy-call-factory.h
+++ b/libempathy/empathy-call-factory.h
@@ -65,8 +65,7 @@ EmpathyCallFactory *empathy_call_factory_initialise (void);
EmpathyCallFactory *empathy_call_factory_get (void);
-void empathy_call_factory_new_call_with_streams (EmpathyCallFactory *factory,
- EmpathyContact *contact,
+void empathy_call_factory_new_call_with_streams (EmpathyContact *contact,
gboolean initial_audio,
gboolean initial_video,
gint64 timestamp,
diff --git a/libempathy/empathy-call-handler.c b/libempathy/empathy-call-handler.c
index 9ba115a60..1f9ab7213 100644
--- a/libempathy/empathy-call-handler.c
+++ b/libempathy/empathy-call-handler.c
@@ -484,8 +484,8 @@ empathy_call_handler_start_call (EmpathyCallHandler *handler,
* will be used to create a new EmpathyTpCall. */
g_assert (priv->contact != NULL);
- empathy_call_factory_new_call_with_streams (empathy_call_factory_get (),
- priv->contact, priv->initial_audio, priv->initial_video, timestamp,
+ empathy_call_factory_new_call_with_streams (priv->contact,
+ priv->initial_audio, priv->initial_video, timestamp,
empathy_call_handler_request_cb, handler);
}