aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-contact-widget.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-contact-widget.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-contact-widget.c')
-rw-r--r--libempathy-gtk/empathy-contact-widget.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c
index acee1ac5a..204b1686e 100644
--- a/libempathy-gtk/empathy-contact-widget.c
+++ b/libempathy-gtk/empathy-contact-widget.c
@@ -1477,10 +1477,10 @@ contact_widget_contact_update (EmpathyContactWidget *information)
FolksPersona *persona = empathy_contact_get_persona (
information->contact);
- if (persona != NULL && FOLKS_IS_FAVOURITABLE (persona))
+ if (persona != NULL && FOLKS_IS_FAVOURITE_DETAILS (persona))
{
- gboolean is_favourite = folks_favouritable_get_is_favourite (
- FOLKS_FAVOURITABLE (persona));
+ gboolean is_favourite = folks_favourite_details_get_is_favourite (
+ FOLKS_FAVOURITE_DETAILS (persona));
contact_widget_favourites_changed_cb (information->manager,
information->contact, is_favourite, information);
}
@@ -1611,10 +1611,11 @@ favourite_toggled_cb (GtkToggleButton *button,
{
FolksPersona *persona = empathy_contact_get_persona (information->contact);
- if (persona != NULL && FOLKS_IS_FAVOURITABLE (persona))
+ if (persona != NULL && FOLKS_IS_FAVOURITE_DETAILS (persona))
{
gboolean active = gtk_toggle_button_get_active (button);
- folks_favouritable_set_is_favourite (FOLKS_FAVOURITABLE (persona), active);
+ folks_favourite_details_set_is_favourite (
+ FOLKS_FAVOURITE_DETAILS (persona), active);
}
}