[empathy] empathy-individual-menu: no need to get the call factory
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] empathy-individual-menu: no need to get the call factory
- Date: Mon, 9 Aug 2010 13:34:03 +0000 (UTC)
commit bec8141c7c525d4198c0b2cf6a867fff344d3a14
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Mon Aug 9 15:28:53 2010 +0200
empathy-individual-menu: no need to get the call factory
libempathy-gtk/empathy-individual-menu.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/libempathy-gtk/empathy-individual-menu.c b/libempathy-gtk/empathy-individual-menu.c
index 72ea1b8..d3770d1 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]