summaryrefslogtreecommitdiff
path: root/libempathy-gtk/empathy-contact-menu.c
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-02-22 18:14:07 +0000
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2011-02-23 17:12:57 +0000
commit43351bae1eb2f338922577ffa6dcc7321e35a37b (patch)
tree2ff44c92b653e40d73a238cb26ca18887dec3148 /libempathy-gtk/empathy-contact-menu.c
parent10edf350020350475ece049d9c8fd969f70cf5c5 (diff)
downloadempathy-43351bae1eb2f338922577ffa6dcc7321e35a37b.tar.gz
Don't require EmpathyContacts to start a call
Diffstat (limited to 'libempathy-gtk/empathy-contact-menu.c')
-rw-r--r--libempathy-gtk/empathy-contact-menu.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-contact-menu.c b/libempathy-gtk/empathy-contact-menu.c
index a9504e085..7bcec3810 100644
--- a/libempathy-gtk/empathy-contact-menu.c
+++ b/libempathy-gtk/empathy-contact-menu.c
@@ -339,7 +339,9 @@ empathy_contact_audio_call_menu_item_activated (GtkMenuItem *item,
EmpathyContact *contact)
{
- empathy_call_new_with_streams (contact, TRUE, FALSE,
+ empathy_call_new_with_streams (empathy_contact_get_id (contact),
+ empathy_contact_get_account (contact),
+ TRUE, FALSE,
gtk_get_current_event_time ());
}
@@ -370,7 +372,9 @@ static void
empathy_contact_video_call_menu_item_activated (GtkMenuItem *item,
EmpathyContact *contact)
{
- empathy_call_new_with_streams (contact, TRUE, TRUE,
+ empathy_call_new_with_streams (empathy_contact_get_id (contact),
+ empathy_contact_get_account (contact),
+ TRUE, TRUE,
gtk_get_current_event_time ());
}