diff options
author | Travis Reitter <travis.reitter@collabora.co.uk> | 2011-03-11 13:46:49 +0800 |
---|---|---|
committer | Travis Reitter <travis.reitter@collabora.co.uk> | 2011-03-15 02:46:52 +0800 |
commit | 07434728e84556fd321ea4a38f828035803ee76b (patch) | |
tree | a651288af35cb793be520ea7fa2687efdcca830e /libempathy-gtk/empathy-individual-menu.c | |
parent | 04358054e19cdd50364afd1f51cb315b132cf1f7 (diff) | |
download | gsoc2013-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-menu.c')
-rw-r--r-- | libempathy-gtk/empathy-individual-menu.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-individual-menu.c b/libempathy-gtk/empathy-individual-menu.c index 8b9f98486..5995f2eb9 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); |