aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-individual-menu.c
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-02-10 00:48:34 +0800
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-02-10 17:24:55 +0800
commit2104fdf4bd3b020e2dca0d397ce445423f463704 (patch)
tree70b7c1d771c95828322c2254f199e4759fd3db6f /libempathy-gtk/empathy-individual-menu.c
parentf22e466ab6e525a148145f66aed3ce4a0f23128a (diff)
downloadgsoc2013-empathy-2104fdf4bd3b020e2dca0d397ce445423f463704.tar
gsoc2013-empathy-2104fdf4bd3b020e2dca0d397ce445423f463704.tar.gz
gsoc2013-empathy-2104fdf4bd3b020e2dca0d397ce445423f463704.tar.bz2
gsoc2013-empathy-2104fdf4bd3b020e2dca0d397ce445423f463704.tar.lz
gsoc2013-empathy-2104fdf4bd3b020e2dca0d397ce445423f463704.tar.xz
gsoc2013-empathy-2104fdf4bd3b020e2dca0d397ce445423f463704.tar.zst
gsoc2013-empathy-2104fdf4bd3b020e2dca0d397ce445423f463704.zip
Move a couple of call-related functions to empathy-utils.h
Since the rest of the call stuff will only be compiled for empathy-av so we don't link every binary against farsight.
Diffstat (limited to 'libempathy-gtk/empathy-individual-menu.c')
-rw-r--r--libempathy-gtk/empathy-individual-menu.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/libempathy-gtk/empathy-individual-menu.c b/libempathy-gtk/empathy-individual-menu.c
index faa4ff6aa..1dc463330 100644
--- a/libempathy-gtk/empathy-individual-menu.c
+++ b/libempathy-gtk/empathy-individual-menu.c
@@ -31,7 +31,6 @@
#include <folks/folks.h>
#include <folks/folks-telepathy.h>
-#include <libempathy/empathy-streamed-media-factory.h>
#include <libempathy/empathy-dispatcher.h>
#include <libempathy/empathy-individual-manager.h>
#include <libempathy/empathy-chatroom-manager.h>
@@ -543,8 +542,8 @@ empathy_individual_audio_call_menu_item_activated (GtkMenuItem *item,
{
g_return_if_fail (EMPATHY_IS_CONTACT (contact));
- empathy_streamed_media_factory_new_call_with_streams (contact, TRUE, FALSE,
- gtk_get_current_event_time (), NULL);
+ empathy_call_new_with_streams (contact, TRUE, FALSE,
+ gtk_get_current_event_time ());
}
GtkWidget *
@@ -585,8 +584,8 @@ empathy_individual_video_call_menu_item_activated (GtkMenuItem *item,
{
g_return_if_fail (EMPATHY_IS_CONTACT (contact));
- empathy_streamed_media_factory_new_call_with_streams (contact, TRUE, TRUE,
- gtk_get_current_event_time (), NULL);
+ empathy_call_new_with_streams (contact, TRUE, TRUE,
+ gtk_get_current_event_time ());
}
GtkWidget *