diff options
Diffstat (limited to 'libempathy')
-rw-r--r-- | libempathy/empathy-contact-manager.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy/empathy-contact-manager.c b/libempathy/empathy-contact-manager.c index 6ccd08991..d0ba13054 100644 --- a/libempathy/empathy-contact-manager.c +++ b/libempathy/empathy-contact-manager.c @@ -303,9 +303,10 @@ add_contacts_to_favourites (EmpathyContactManager *self, contact_hash = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL); + g_hash_table_insert (priv->favourites, g_strdup (account), - g_hash_table_ref (contact_hash)); + contact_hash); } for (j = 0; contacts && contacts[j] != NULL; j++) { |