aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-individual-view.c
diff options
context:
space:
mode:
authorTravis Reitter <travis.reitter@collabora.co.uk>2011-03-11 13:46:49 +0800
committerTravis Reitter <travis.reitter@collabora.co.uk>2011-03-15 02:46:52 +0800
commit07434728e84556fd321ea4a38f828035803ee76b (patch)
treea651288af35cb793be520ea7fa2687efdcca830e /libempathy-gtk/empathy-individual-view.c
parent04358054e19cdd50364afd1f51cb315b132cf1f7 (diff)
downloadgsoc2013-empathy-07434728e84556fd321ea4a38f828035803ee76b.tar
gsoc2013-empathy-07434728e84556fd321ea4a38f828035803ee76b.tar.gz
gsoc2013-empathy-07434728e84556fd321ea4a38f828035803ee76b.tar.bz2
gsoc2013-empathy-07434728e84556fd321ea4a38f828035803ee76b.tar.lz
gsoc2013-empathy-07434728e84556fd321ea4a38f828035803ee76b.tar.xz
gsoc2013-empathy-07434728e84556fd321ea4a38f828035803ee76b.tar.zst
gsoc2013-empathy-07434728e84556fd321ea4a38f828035803ee76b.zip
Adjust for Folks Favouritable -> FavouriteDetails rename
Helps bgo#644470 - Empathy needs to catch up with Folks interface name change (API/ABI breaks)
Diffstat (limited to 'libempathy-gtk/empathy-individual-view.c')
-rw-r--r--libempathy-gtk/empathy-individual-view.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/libempathy-gtk/empathy-individual-view.c b/libempathy-gtk/empathy-individual-view.c
index 9bad850d3..a845b361f 100644
--- a/libempathy-gtk/empathy-individual-view.c
+++ b/libempathy-gtk/empathy-individual-view.c
@@ -374,14 +374,16 @@ real_drag_individual_received_cb (EmpathyIndividualView *self,
if (!tp_strdiff (new_group, EMPATHY_INDIVIDUAL_STORE_FAVORITE))
{
/* Mark contact as favourite */
- folks_favouritable_set_is_favourite (FOLKS_FAVOURITABLE (individual), TRUE);
+ folks_favourite_details_set_is_favourite (
+ FOLKS_FAVOURITE_DETAILS (individual), TRUE);
return;
}
if (!tp_strdiff (old_group, EMPATHY_INDIVIDUAL_STORE_FAVORITE))
{
/* Remove contact as favourite */
- folks_favouritable_set_is_favourite (FOLKS_FAVOURITABLE (individual), FALSE);
+ folks_favourite_details_set_is_favourite (
+ FOLKS_FAVOURITE_DETAILS (individual), FALSE);
/* Don't try to remove it */
old_group = NULL;
@@ -1706,8 +1708,8 @@ individual_view_is_visible_individual (EmpathyIndividualView *self,
if (contains_interesting_persona == FALSE)
return FALSE;
- is_favorite = folks_favouritable_get_is_favourite (
- FOLKS_FAVOURITABLE (individual));
+ is_favorite = folks_favourite_details_get_is_favourite (
+ FOLKS_FAVOURITE_DETAILS (individual));
if (is_searching == FALSE)
return (priv->show_offline || is_online || is_favorite);