diff options
author | Philip Withnall <philip.withnall@collabora.co.uk> | 2010-06-23 23:46:38 +0800 |
---|---|---|
committer | Travis Reitter <treitter@gmail.com> | 2010-07-21 07:12:35 +0800 |
commit | 315a71325f98d86722d7c313d726828f767cef82 (patch) | |
tree | 5f25542a0d70ea1e63f67fe33b512f185610b15d /libempathy-gtk/empathy-individual-store.c | |
parent | e53b7431a34c09ceed319a1680cde1e44a50dab2 (diff) | |
download | gsoc2013-empathy-315a71325f98d86722d7c313d726828f767cef82.tar gsoc2013-empathy-315a71325f98d86722d7c313d726828f767cef82.tar.gz gsoc2013-empathy-315a71325f98d86722d7c313d726828f767cef82.tar.bz2 gsoc2013-empathy-315a71325f98d86722d7c313d726828f767cef82.tar.lz gsoc2013-empathy-315a71325f98d86722d7c313d726828f767cef82.tar.xz gsoc2013-empathy-315a71325f98d86722d7c313d726828f767cef82.tar.zst gsoc2013-empathy-315a71325f98d86722d7c313d726828f767cef82.zip |
Use the new FolksFavourite interface for favourites support
Diffstat (limited to 'libempathy-gtk/empathy-individual-store.c')
-rw-r--r-- | libempathy-gtk/empathy-individual-store.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-individual-store.c b/libempathy-gtk/empathy-individual-store.c index 1931106a4..976053c07 100644 --- a/libempathy-gtk/empathy-individual-store.c +++ b/libempathy-gtk/empathy-individual-store.c @@ -412,9 +412,8 @@ individual_store_add_individual (EmpathyIndividualStore *self, if (group_set != NULL) g_hash_table_unref (group_set); -#ifdef HAVE_FAVOURITE_CONTACTS if (priv->show_groups && - empathy_individual_manager_is_favourite (priv->manager, individual)) + folks_favourite_get_is_favourite (FOLKS_FAVOURITE (individual))) { /* Add contact to the fake 'Favorites' group */ GtkTreeIter iter_group; @@ -425,7 +424,6 @@ individual_store_add_individual (EmpathyIndividualStore *self, add_individual_to_store (GTK_TREE_STORE (self), &iter, &iter_group, individual, flags); } -#endif individual_store_contact_update (self, individual); } |