From 42286849ee43d2807f8d4faa5d747b144859e08a Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 12 Dec 2011 13:06:14 +0100 Subject: main-window: stop instantiating the contact manager We don't use it any more. https://bugzilla.gnome.org/show_bug.cgi?id=660547 --- src/empathy-main-window.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src') diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c index 20bd60739..91dd6bdec 100644 --- a/src/empathy-main-window.c +++ b/src/empathy-main-window.c @@ -39,7 +39,6 @@ #include #include #include -#include #include #include #include @@ -106,7 +105,6 @@ G_DEFINE_TYPE (EmpathyMainWindow, empathy_main_window, GTK_TYPE_WINDOW); #define GET_PRIV(self) ((EmpathyMainWindowPriv *)((EmpathyMainWindow *) self)->priv) struct _EmpathyMainWindowPriv { - EmpathyContactList *contact_manager; EmpathyIndividualStore *individual_store; EmpathyIndividualView *individual_view; TpAccountManager *account_manager; @@ -1371,7 +1369,6 @@ empathy_main_window_finalize (GObject *window) g_object_unref (priv->account_manager); g_object_unref (priv->individual_store); - g_object_unref (priv->contact_manager); g_object_unref (priv->sound_mgr); g_hash_table_unref (priv->errors); g_hash_table_unref (priv->auths); @@ -2459,8 +2456,6 @@ empathy_main_window_init (EmpathyMainWindow *window) * so it's got a race condition between its signal handlers and its * finalization. The class is planned to be removed, so we won't fix * this before then. */ - priv->contact_manager = EMPATHY_CONTACT_LIST ( - empathy_contact_manager_dup_singleton ()); individual_manager = empathy_individual_manager_dup_singleton (); priv->individual_store = EMPATHY_INDIVIDUAL_STORE ( empathy_individual_store_manager_new (individual_manager)); -- cgit v1.2.3