diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-03-16 17:11:26 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-03-16 17:24:59 +0800 |
commit | cb2741bee8b6808953a6afeea90114f123a47982 (patch) | |
tree | e1b0df9a14caf29e7047ec403db51d0752533895 /libempathy-gtk/empathy-individual-menu.c | |
parent | 15761dfafa40dce3e5acb2f9fecc5b808fa11e47 (diff) | |
download | gsoc2013-empathy-cb2741bee8b6808953a6afeea90114f123a47982.tar gsoc2013-empathy-cb2741bee8b6808953a6afeea90114f123a47982.tar.gz gsoc2013-empathy-cb2741bee8b6808953a6afeea90114f123a47982.tar.bz2 gsoc2013-empathy-cb2741bee8b6808953a6afeea90114f123a47982.tar.lz gsoc2013-empathy-cb2741bee8b6808953a6afeea90114f123a47982.tar.xz gsoc2013-empathy-cb2741bee8b6808953a6afeea90114f123a47982.tar.zst gsoc2013-empathy-cb2741bee8b6808953a6afeea90114f123a47982.zip |
depends on folks 0.4.0
This is based on Travis's commits from master.
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 a86aed966..4f4a7e20c 100644 --- a/libempathy-gtk/empathy-individual-menu.c +++ b/libempathy-gtk/empathy-individual-menu.c @@ -755,7 +755,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)); } @@ -767,7 +768,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); |