aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2009-01-07 00:49:27 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-07 00:49:27 +0800
commit13756abc6e0f19af007b7b9731fe69080b928436 (patch)
tree8f0ca8238eb400e4d63a7bc87ed4ef3f2dd56f0e
parentd5c7df9e1e4aaf7dc3edd19651253f6d0e162d94 (diff)
downloadgsoc2013-empathy-13756abc6e0f19af007b7b9731fe69080b928436.tar
gsoc2013-empathy-13756abc6e0f19af007b7b9731fe69080b928436.tar.gz
gsoc2013-empathy-13756abc6e0f19af007b7b9731fe69080b928436.tar.bz2
gsoc2013-empathy-13756abc6e0f19af007b7b9731fe69080b928436.tar.lz
gsoc2013-empathy-13756abc6e0f19af007b7b9731fe69080b928436.tar.xz
gsoc2013-empathy-13756abc6e0f19af007b7b9731fe69080b928436.tar.zst
gsoc2013-empathy-13756abc6e0f19af007b7b9731fe69080b928436.zip
Insert a comment claryfing reference ownership.
svn path=/trunk/; revision=2090
-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);