aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2009-01-07 00:48:36 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-07 00:48:36 +0800
commitd374b59bc0a0baf9fdfcb3528162cbf389b7f26c (patch)
treeaec6df9cb672e573b8fa544ba65eeed709a9b7e7 /libempathy-gtk
parentdcc292dc2b1fb67d63403618803a5e82e8ebfc9d (diff)
downloadgsoc2013-empathy-d374b59bc0a0baf9fdfcb3528162cbf389b7f26c.tar
gsoc2013-empathy-d374b59bc0a0baf9fdfcb3528162cbf389b7f26c.tar.gz
gsoc2013-empathy-d374b59bc0a0baf9fdfcb3528162cbf389b7f26c.tar.bz2
gsoc2013-empathy-d374b59bc0a0baf9fdfcb3528162cbf389b7f26c.tar.lz
gsoc2013-empathy-d374b59bc0a0baf9fdfcb3528162cbf389b7f26c.tar.xz
gsoc2013-empathy-d374b59bc0a0baf9fdfcb3528162cbf389b7f26c.tar.zst
gsoc2013-empathy-d374b59bc0a0baf9fdfcb3528162cbf389b7f26c.zip
Use new singleton policy for EmpathyAccountManager.
svn path=/trunk/; revision=2074
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-account-chooser.c2
-rw-r--r--libempathy-gtk/empathy-chat.c2
2 files changed, 2 insertions, 2 deletions
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",