aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-individual-menu.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-09 21:28:53 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-09 21:33:56 +0800
commitbec8141c7c525d4198c0b2cf6a867fff344d3a14 (patch)
tree3d3644586b00eb27c1ce72997ef42d9bdf1780f8 /libempathy-gtk/empathy-individual-menu.c
parent934b3c383e8e4f26ab7edef385767d9e7836f729 (diff)
downloadgsoc2013-empathy-bec8141c7c525d4198c0b2cf6a867fff344d3a14.tar
gsoc2013-empathy-bec8141c7c525d4198c0b2cf6a867fff344d3a14.tar.gz
gsoc2013-empathy-bec8141c7c525d4198c0b2cf6a867fff344d3a14.tar.bz2
gsoc2013-empathy-bec8141c7c525d4198c0b2cf6a867fff344d3a14.tar.lz
gsoc2013-empathy-bec8141c7c525d4198c0b2cf6a867fff344d3a14.tar.xz
gsoc2013-empathy-bec8141c7c525d4198c0b2cf6a867fff344d3a14.tar.zst
gsoc2013-empathy-bec8141c7c525d4198c0b2cf6a867fff344d3a14.zip
empathy-individual-menu: no need to get the call factory
Diffstat (limited to 'libempathy-gtk/empathy-individual-menu.c')
-rw-r--r--libempathy-gtk/empathy-individual-menu.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libempathy-gtk/empathy-individual-menu.c b/libempathy-gtk/empathy-individual-menu.c
index 72ea1b80b..d3770d115 100644
--- a/libempathy-gtk/empathy-individual-menu.c
+++ b/libempathy-gtk/empathy-individual-menu.c
@@ -278,13 +278,11 @@ empathy_individual_audio_call_menu_item_activated (GtkMenuItem *item,
FolksIndividual *individual)
{
EmpathyContact *contact;
- EmpathyCallFactory *factory;
contact = empathy_contact_dup_from_folks_individual (individual);
g_return_if_fail (EMPATHY_IS_CONTACT (contact));
- factory = empathy_call_factory_get ();
empathy_call_factory_new_call_with_streams (contact, TRUE, FALSE,
gtk_get_current_event_time (), NULL, NULL);
g_object_unref (contact);
@@ -323,13 +321,11 @@ empathy_individual_video_call_menu_item_activated (GtkMenuItem *item,
FolksIndividual *individual)
{
EmpathyContact *contact;
- EmpathyCallFactory *factory;
contact = empathy_contact_dup_from_folks_individual (individual);
g_return_if_fail (EMPATHY_IS_CONTACT (contact));
- factory = empathy_call_factory_get ();
empathy_call_factory_new_call_with_streams (contact, TRUE, TRUE,
gtk_get_current_event_time (), NULL, NULL);
g_object_unref (contact);