summaryrefslogtreecommitdiff
path: root/libempathy-gtk/empathy-individual-menu.c
diff options
context:
space:
mode:
authorTravis Reitter <travis.reitter@collabora.co.uk>2011-03-10 21:46:49 -0800
committerTravis Reitter <travis.reitter@collabora.co.uk>2011-03-14 11:46:52 -0700
commit07434728e84556fd321ea4a38f828035803ee76b (patch)
treea651288af35cb793be520ea7fa2687efdcca830e /libempathy-gtk/empathy-individual-menu.c
parent04358054e19cdd50364afd1f51cb315b132cf1f7 (diff)
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-menu.c')
-rw-r--r--libempathy-gtk/empathy-individual-menu.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-individual-menu.c b/libempathy-gtk/empathy-individual-menu.c
index 8b9f9848..5995f2eb 100644
--- a/libempathy-gtk/empathy-individual-menu.c
+++ b/libempathy-gtk/empathy-individual-menu.c
@@ -750,7 +750,8 @@ static void
favourite_menu_item_toggled_cb (GtkCheckMenuItem *item,
FolksIndividual *individual)
{
- folks_favouritable_set_is_favourite (FOLKS_FAVOURITABLE (individual),
+ folks_favourite_details_set_is_favourite (
+ FOLKS_FAVOURITE_DETAILS (individual),
gtk_check_menu_item_get_active (item));
}
@@ -762,7 +763,8 @@ empathy_individual_favourite_menu_item_new (FolksIndividual *individual)
item = gtk_check_menu_item_new_with_label (_("Favorite"));
gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (item),
- folks_favouritable_get_is_favourite (FOLKS_FAVOURITABLE (individual)));
+ folks_favourite_details_get_is_favourite (
+ FOLKS_FAVOURITE_DETAILS (individual)));
g_signal_connect (item, "toggled",
G_CALLBACK (favourite_menu_item_toggled_cb), individual);