diff options
author | Philip Withnall <philip.withnall@collabora.co.uk> | 2010-06-30 22:26:03 +0800 |
---|---|---|
committer | Travis Reitter <treitter@gmail.com> | 2010-07-21 07:12:36 +0800 |
commit | 6d9c8a607e2b44d20d54a11e917d0723da81078d (patch) | |
tree | 2624ec9eb3fb00fbb80154eb930390b43a2ba182 | |
parent | ce240862c8f53b1bf62b80bba5f1fcdca07393d6 (diff) | |
download | gsoc2013-empathy-6d9c8a607e2b44d20d54a11e917d0723da81078d.tar gsoc2013-empathy-6d9c8a607e2b44d20d54a11e917d0723da81078d.tar.gz gsoc2013-empathy-6d9c8a607e2b44d20d54a11e917d0723da81078d.tar.bz2 gsoc2013-empathy-6d9c8a607e2b44d20d54a11e917d0723da81078d.tar.lz gsoc2013-empathy-6d9c8a607e2b44d20d54a11e917d0723da81078d.tar.xz gsoc2013-empathy-6d9c8a607e2b44d20d54a11e917d0723da81078d.tar.zst gsoc2013-empathy-6d9c8a607e2b44d20d54a11e917d0723da81078d.zip |
Remove unused EmpathyIndividualManager instances from the individual menu
-rw-r--r-- | libempathy-gtk/empathy-individual-menu.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libempathy-gtk/empathy-individual-menu.c b/libempathy-gtk/empathy-individual-menu.c index d42f4d97e..ceb95db1d 100644 --- a/libempathy-gtk/empathy-individual-menu.c +++ b/libempathy-gtk/empathy-individual-menu.c @@ -505,32 +505,23 @@ static void favourite_menu_item_toggled_cb (GtkCheckMenuItem *item, FolksIndividual *individual) { - EmpathyIndividualManager *manager; - - manager = empathy_individual_manager_dup_singleton (); - folks_favourite_set_is_favourite (FOLKS_FAVOURITE (individual), gtk_check_menu_item_get_active (item)); - - g_object_unref (manager); } GtkWidget * empathy_individual_favourite_menu_item_new (FolksIndividual *individual) { GtkWidget *item; - EmpathyIndividualManager *manager; item = gtk_check_menu_item_new_with_label (_("Favorite")); - manager = empathy_individual_manager_dup_singleton (); gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (item), folks_favourite_get_is_favourite (FOLKS_FAVOURITE (individual))); g_signal_connect (item, "toggled", G_CALLBACK (favourite_menu_item_toggled_cb), individual); - g_object_unref (manager); return item; } |