aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-contact-widget.c
diff options
context:
space:
mode:
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);
}
}