diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-06-24 21:34:20 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-06-29 17:34:37 +0800 |
commit | 01e72ff82e7516cf71bdab66e107b8a3df3f1749 (patch) | |
tree | aaa169dbbaa5eea902758db5815b5e1892b2cc67 /libempathy-gtk | |
parent | 661b357c331dca16c4ff0a075dd7f3982e028dce (diff) | |
download | gsoc2013-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')
-rw-r--r-- | libempathy-gtk/empathy-contact-menu.c | 9 |
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); } |