aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-individual-menu.c
diff options
context:
space:
mode:
authorTravis Reitter <treitter@gmail.com>2010-06-27 02:56:13 +0800
committerTravis Reitter <treitter@gmail.com>2010-07-21 07:12:35 +0800
commit5c2858c57a9718f9d78b1a7440e82ebf17bf31f4 (patch)
tree497fc8f4e72b43907ec2af080e2655aa8e9d0aa8 /libempathy-gtk/empathy-individual-menu.c
parentc41d778c8d76d17289f37909c0e7535603010b1a (diff)
downloadgsoc2013-empathy-5c2858c57a9718f9d78b1a7440e82ebf17bf31f4.tar
gsoc2013-empathy-5c2858c57a9718f9d78b1a7440e82ebf17bf31f4.tar.gz
gsoc2013-empathy-5c2858c57a9718f9d78b1a7440e82ebf17bf31f4.tar.bz2
gsoc2013-empathy-5c2858c57a9718f9d78b1a7440e82ebf17bf31f4.tar.lz
gsoc2013-empathy-5c2858c57a9718f9d78b1a7440e82ebf17bf31f4.tar.xz
gsoc2013-empathy-5c2858c57a9718f9d78b1a7440e82ebf17bf31f4.tar.zst
gsoc2013-empathy-5c2858c57a9718f9d78b1a7440e82ebf17bf31f4.zip
Take advantage of favourites being a hard requirement and add stubs for adding/removing individuals as favourites.
Diffstat (limited to 'libempathy-gtk/empathy-individual-menu.c')
-rw-r--r--libempathy-gtk/empathy-individual-menu.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libempathy-gtk/empathy-individual-menu.c b/libempathy-gtk/empathy-individual-menu.c
index 09309dbf9..d42f4d97e 100644
--- a/libempathy-gtk/empathy-individual-menu.c
+++ b/libempathy-gtk/empathy-individual-menu.c
@@ -501,16 +501,13 @@ empathy_individual_share_my_desktop_menu_item_new (FolksIndividual *individual)
return item;
}
-#if HAVE_FAVOURITE_CONTACTS
static void
favourite_menu_item_toggled_cb (GtkCheckMenuItem *item,
FolksIndividual *individual)
{
EmpathyIndividualManager *manager;
- FolksIndividualList *list;
manager = empathy_individual_manager_dup_singleton ();
- list = EMPATHY_INDIVIDUAL_MANAGER (manager);
folks_favourite_set_is_favourite (FOLKS_FAVOURITE (individual),
gtk_check_menu_item_get_active (item));
@@ -536,7 +533,6 @@ empathy_individual_favourite_menu_item_new (FolksIndividual *individual)
g_object_unref (manager);
return item;
}
-#endif
static void
individual_info_menu_item_activate_cb (FolksIndividual *individual)