aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-contact-menu.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-06-22 17:25:01 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-06-22 17:59:33 +0800
commit2064d5324ec602a7a6c2e9e63d5b406e5228824c (patch)
tree37f6f9b12da536062a888570ee0d5df42885bd2e /libempathy-gtk/empathy-contact-menu.c
parent57459c6892de159e92a90231e8c10e63c566ac32 (diff)
downloadgsoc2013-empathy-2064d5324ec602a7a6c2e9e63d5b406e5228824c.tar
gsoc2013-empathy-2064d5324ec602a7a6c2e9e63d5b406e5228824c.tar.gz
gsoc2013-empathy-2064d5324ec602a7a6c2e9e63d5b406e5228824c.tar.bz2
gsoc2013-empathy-2064d5324ec602a7a6c2e9e63d5b406e5228824c.tar.lz
gsoc2013-empathy-2064d5324ec602a7a6c2e9e63d5b406e5228824c.tar.xz
gsoc2013-empathy-2064d5324ec602a7a6c2e9e63d5b406e5228824c.tar.zst
gsoc2013-empathy-2064d5324ec602a7a6c2e9e63d5b406e5228824c.zip
empathy_call_factory_new_call_with_streams: request channel using the CD
Also allow caller to pass the timestamp and an optionnal callback.
Diffstat (limited to 'libempathy-gtk/empathy-contact-menu.c')
-rw-r--r--libempathy-gtk/empathy-contact-menu.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-contact-menu.c b/libempathy-gtk/empathy-contact-menu.c
index 6dfe63a6e..7c18694ae 100644
--- a/libempathy-gtk/empathy-contact-menu.c
+++ b/libempathy-gtk/empathy-contact-menu.c
@@ -248,7 +248,8 @@ empathy_contact_audio_call_menu_item_activated (GtkMenuItem *item,
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 (factory, contact, TRUE, FALSE,
+ gtk_get_current_event_time (), NULL, NULL);
}
GtkWidget *
@@ -280,7 +281,8 @@ empathy_contact_video_call_menu_item_activated (GtkMenuItem *item,
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 (factory, contact, TRUE, TRUE,
+ gtk_get_current_event_time (), NULL, NULL);
}
GtkWidget *