[empathy] empathy.c: stop instantiating the chat manager
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [empathy] empathy.c: stop instantiating the chat manager
- Date: Mon, 25 Oct 2010 09:19:28 +0000 (UTC)
commit 3af8594e436d5c88e531fcd6f36a1d81b20b133e
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Tue Oct 19 16:20:06 2010 +0200
    empathy.c: stop instantiating the chat manager
 src/empathy.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/empathy.c b/src/empathy.c
index aa46106..6e47af2 100644
--- a/src/empathy.c
+++ b/src/empathy.c
@@ -63,7 +63,6 @@
 #include "empathy-main-window.h"
 #include "empathy-accounts-common.h"
 #include "empathy-accounts-dialog.h"
-#include "empathy-chat-manager.h"
 #include "empathy-status-icon.h"
 #include "empathy-ft-manager.h"
 
@@ -114,7 +113,6 @@ struct _EmpathyApp
   EmpathyFTFactory  *ft_factory;
   EmpathyIdle *idle;
   EmpathyConnectivity *connectivity;
-  EmpathyChatManager *chat_manager;
   GSettings *gsettings;
 #ifdef HAVE_GEOCLUE
   EmpathyLocationManager *location_manager;
@@ -143,7 +141,6 @@ empathy_app_dispose (GObject *object)
   tp_clear_object (&self->debug_sender);
 #endif
 
-  tp_clear_object (&self->chat_manager);
   tp_clear_object (&self->idle);
   tp_clear_object (&self->connectivity);
   tp_clear_object (&self->icon);
@@ -603,9 +600,6 @@ empathy_app_constructed (GObject *object)
   self->icon = empathy_status_icon_new (GTK_WINDOW (self->window),
       self->start_hidden);
 
-  /* Chat manager */
-  self->chat_manager = empathy_chat_manager_dup_singleton ();
-
   /* Logging */
   self->log_manager = tpl_log_manager_dup_singleton ();
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]