diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-06-24 21:06:14 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-06-29 17:34:37 +0800 |
commit | 661b357c331dca16c4ff0a075dd7f3982e028dce (patch) | |
tree | 05eda7ffe89ca03bba576a9795ee134c8673c60d /src/empathy.c | |
parent | 406dc93dff623caa69b1b416d526cfd2030aa09a (diff) | |
download | gsoc2013-empathy-661b357c331dca16c4ff0a075dd7f3982e028dce.tar gsoc2013-empathy-661b357c331dca16c4ff0a075dd7f3982e028dce.tar.gz gsoc2013-empathy-661b357c331dca16c4ff0a075dd7f3982e028dce.tar.bz2 gsoc2013-empathy-661b357c331dca16c4ff0a075dd7f3982e028dce.tar.lz gsoc2013-empathy-661b357c331dca16c4ff0a075dd7f3982e028dce.tar.xz gsoc2013-empathy-661b357c331dca16c4ff0a075dd7f3982e028dce.tar.zst gsoc2013-empathy-661b357c331dca16c4ff0a075dd7f3982e028dce.zip |
empathy: stop handling media channels
Diffstat (limited to 'src/empathy.c')
-rw-r--r-- | src/empathy.c | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/src/empathy.c b/src/empathy.c index f700c5fbd..24e885938 100644 --- a/src/empathy.c +++ b/src/empathy.c @@ -26,6 +26,7 @@ #include <string.h> #include <glib.h> +#include <glib/gstdio.h> #include <glib/gi18n.h> #include <gtk/gtk.h> #include <gdk/gdkx.h> @@ -48,7 +49,6 @@ #include <libempathy/empathy-idle.h> #include <libempathy/empathy-utils.h> -#include <libempathy/empathy-call-factory.h> #include <libempathy/empathy-chatroom-manager.h> #include <libempathy/empathy-account-settings.h> #include <libempathy/empathy-connectivity.h> @@ -58,7 +58,6 @@ #include <libempathy/empathy-ft-factory.h> #include <libempathy/empathy-gsettings.h> #include <libempathy/empathy-tp-chat.h> -#include <libempathy/empathy-tp-call.h> #include <libempathy-gtk/empathy-ui-utils.h> #include <libempathy-gtk/empathy-location-manager.h> @@ -68,7 +67,6 @@ #include "empathy-accounts-dialog.h" #include "empathy-chat-manager.h" #include "empathy-status-icon.h" -#include "empathy-call-window.h" #include "empathy-chat-window.h" #include "empathy-ft-manager.h" @@ -77,8 +75,6 @@ #define DEBUG_FLAG EMPATHY_DEBUG_OTHER #include <libempathy/empathy-debug.h> -#include <gst/gst.h> - static gboolean start_hidden = FALSE; static gboolean no_connect = FALSE; @@ -317,18 +313,6 @@ new_ft_handler_cb (EmpathyFTFactory *factory, } static void -new_call_handler_cb (EmpathyCallFactory *factory, - EmpathyCallHandler *handler, - gboolean outgoing, - gpointer user_data) -{ - EmpathyCallWindow *window; - - window = empathy_call_window_new (handler); - gtk_widget_show (GTK_WIDGET (window)); -} - -static void account_manager_ready_cb (GObject *source_object, GAsyncResult *result, gpointer user_data) @@ -537,7 +521,6 @@ main (int argc, char *argv[]) TpAccountManager *account_manager; TplLogManager *log_manager; EmpathyChatroomManager *chatroom_manager; - EmpathyCallFactory *call_factory; EmpathyFTFactory *ft_factory; GtkWidget *window; EmpathyIdle *idle; @@ -573,7 +556,6 @@ main (int argc, char *argv[]) empathy_init (); optcontext = g_option_context_new (N_("- Empathy IM Client")); - g_option_context_add_group (optcontext, gst_init_get_option_group ()); g_option_context_add_group (optcontext, gtk_get_option_group (TRUE)); #if HAVE_LIBCHAMPLAIN g_option_context_add_group (optcontext, clutter_get_option_group ()); @@ -591,7 +573,6 @@ main (int argc, char *argv[]) empathy_gtk_init (); g_set_application_name (_(PACKAGE_NAME)); - g_setenv ("PULSE_PROP_media.role", "phone", TRUE); gtk_window_set_default_icon_name ("empathy"); textdomain (GETTEXT_PACKAGE); @@ -673,10 +654,6 @@ main (int argc, char *argv[]) chatroom_manager_ready_cb (chatroom_manager, NULL, account_manager); } - /* Create the call factory */ - call_factory = empathy_call_factory_initialise (); - g_signal_connect (G_OBJECT (call_factory), "new-call-handler", - G_CALLBACK (new_call_handler_cb), NULL); /* Create the FT factory */ ft_factory = empathy_ft_factory_dup_singleton (); g_signal_connect (ft_factory, "new-ft-handler", |