aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-contact-widget.c
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2010-12-13 02:51:07 +0800
committerPhilip Withnall <philip.withnall@collabora.co.uk>2010-12-14 00:58:50 +0800
commitc6371ec63c928c848cbb5474cb005af5cc414230 (patch)
tree7c1f174c6e11a64bbe30a77fa7226e7aef36f133 /libempathy-gtk/empathy-contact-widget.c
parent92ab34517a94d36ced95514e4fdbde17b2e6004f (diff)
downloadgsoc2013-empathy-c6371ec63c928c848cbb5474cb005af5cc414230.tar
gsoc2013-empathy-c6371ec63c928c848cbb5474cb005af5cc414230.tar.gz
gsoc2013-empathy-c6371ec63c928c848cbb5474cb005af5cc414230.tar.bz2
gsoc2013-empathy-c6371ec63c928c848cbb5474cb005af5cc414230.tar.lz
gsoc2013-empathy-c6371ec63c928c848cbb5474cb005af5cc414230.tar.xz
gsoc2013-empathy-c6371ec63c928c848cbb5474cb005af5cc414230.tar.zst
gsoc2013-empathy-c6371ec63c928c848cbb5474cb005af5cc414230.zip
Bug 637097 — Port to latest folks API changes
Catch up with three interface renamings which have happened in folks master. This bumps Empathy's folks dependency to 0.3.3. Closes: bgo#637097
Diffstat (limited to 'libempathy-gtk/empathy-contact-widget.c')
-rw-r--r--libempathy-gtk/empathy-contact-widget.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c
index 26713ebe4..3ebaa9dee 100644
--- a/libempathy-gtk/empathy-contact-widget.c
+++ b/libempathy-gtk/empathy-contact-widget.c
@@ -1345,10 +1345,10 @@ contact_widget_contact_update (EmpathyContactWidget *information)
FolksPersona *persona = empathy_contact_get_persona (
information->contact);
- if (persona != NULL && FOLKS_IS_FAVOURITE (persona))
+ if (persona != NULL && FOLKS_IS_FAVOURITABLE (persona))
{
- gboolean is_favourite = folks_favourite_get_is_favourite (
- FOLKS_FAVOURITE (persona));
+ gboolean is_favourite = folks_favouritable_get_is_favourite (
+ FOLKS_FAVOURITABLE (persona));
contact_widget_favourites_changed_cb (information->manager,
information->contact, is_favourite, information);
}
@@ -1479,10 +1479,10 @@ favourite_toggled_cb (GtkToggleButton *button,
{
FolksPersona *persona = empathy_contact_get_persona (information->contact);
- if (persona != NULL && FOLKS_IS_FAVOURITE (persona))
+ if (persona != NULL && FOLKS_IS_FAVOURITABLE (persona))
{
gboolean active = gtk_toggle_button_get_active (button);
- folks_favourite_set_is_favourite (FOLKS_FAVOURITE (persona), active);
+ folks_favouritable_set_is_favourite (FOLKS_FAVOURITABLE (persona), active);
}
}