aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-contact-menu.c
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-gtk/empathy-contact-menu.c
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-gtk/empathy-contact-menu.c')
-rw-r--r--libempathy-gtk/empathy-contact-menu.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/libempathy-gtk/empathy-contact-menu.c b/libempathy-gtk/empathy-contact-menu.c
index 7c18694ae..9094c6854 100644
--- a/libempathy-gtk/empathy-contact-menu.c
+++ b/libempathy-gtk/empathy-contact-menu.c
@@ -245,10 +245,8 @@ static void
empathy_contact_audio_call_menu_item_activated (GtkMenuItem *item,
EmpathyContact *contact)
{
- EmpathyCallFactory *factory;
- factory = empathy_call_factory_get ();
- empathy_call_factory_new_call_with_streams (factory, contact, TRUE, FALSE,
+ empathy_call_factory_new_call_with_streams (contact, TRUE, FALSE,
gtk_get_current_event_time (), NULL, NULL);
}
@@ -278,10 +276,7 @@ static void
empathy_contact_video_call_menu_item_activated (GtkMenuItem *item,
EmpathyContact *contact)
{
- EmpathyCallFactory *factory;
-
- factory = empathy_call_factory_get ();
- empathy_call_factory_new_call_with_streams (factory, contact, TRUE, TRUE,
+ empathy_call_factory_new_call_with_streams (contact, TRUE, TRUE,
gtk_get_current_event_time (), NULL, NULL);
}