From d374b59bc0a0baf9fdfcb3528162cbf389b7f26c Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 6 Jan 2009 16:48:36 +0000 Subject: Use new singleton policy for EmpathyAccountManager. svn path=/trunk/; revision=2074 --- libempathy-gtk/empathy-account-chooser.c | 2 +- libempathy-gtk/empathy-chat.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libempathy-gtk') diff --git a/libempathy-gtk/empathy-account-chooser.c b/libempathy-gtk/empathy-account-chooser.c index a3a5b837a..612d07f13 100644 --- a/libempathy-gtk/empathy-account-chooser.c +++ b/libempathy-gtk/empathy-account-chooser.c @@ -135,7 +135,7 @@ empathy_account_chooser_init (EmpathyAccountChooser *chooser) priv->filter = NULL; priv->filter_data = NULL; - priv->manager = empathy_account_manager_new (); + priv->manager = empathy_account_manager_dup_singleton (); g_signal_connect (priv->manager, "account-created", G_CALLBACK (account_chooser_account_created_cb), diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c index 606eb3d18..31b676edb 100644 --- a/libempathy-gtk/empathy-chat.c +++ b/libempathy-gtk/empathy-chat.c @@ -1530,7 +1530,7 @@ empathy_chat_init (EmpathyChat *chat) priv->contacts_width = -1; priv->sent_messages = NULL; priv->sent_messages_index = -1; - priv->account_manager = empathy_account_manager_new (); + priv->account_manager = empathy_account_manager_dup_singleton (); g_signal_connect (priv->account_manager, "account-connection-changed", -- cgit v1.2.3