aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-account-manager.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libempathy/empathy-account-manager.c b/libempathy/empathy-account-manager.c
index feafef6e5..c343a1673 100644
--- a/libempathy/empathy-account-manager.c
+++ b/libempathy/empathy-account-manager.c
@@ -132,6 +132,9 @@ account_created_cb (McAccountMonitor *mon,
data = account_data_new_default (priv->mc, account);
+ /* the reference returned by mc_account_lookup is owned by the
+ * hash table.
+ */
g_hash_table_insert (priv->accounts, account, data);
g_signal_emit (manager, signals[ACCOUNT_CREATED], 0, account);