finch/gntblist.c

changeset 40683
dcc53af7a4fb
parent 40634
4d3018b00ad4
child 40697
81f81f5d2f39
--- a/finch/gntblist.c	Sat Jan 02 21:58:08 2021 -0600
+++ b/finch/gntblist.c	Sat Jan 02 22:05:09 2021 -0600
@@ -34,7 +34,6 @@
 #include "gntconv.h"
 #include "gntlog.h"
 #include "gntmenuutil.h"
-#include "gntpounce.h"
 #include "gntstatus.h"
 
 #define PREF_ROOT "/finch/blist"
@@ -1106,17 +1105,6 @@
 }
 
 static void
-finch_blist_pounce_node_cb(PurpleBlistNode *selected, PurpleBlistNode *node)
-{
-	PurpleBuddy *b;
-	if (PURPLE_IS_CONTACT(node))
-		b = purple_contact_get_priority_buddy((PurpleContact *)node);
-	else
-		b = (PurpleBuddy *)node;
-	finch_pounce_editor_show(purple_buddy_get_account(b), purple_buddy_get_name(b), NULL);
-}
-
-static void
 toggle_block_buddy(GntMenuItem *item, gpointer buddy)
 {
 	gboolean block = gnt_menuitem_check_get_checked(GNT_MENU_ITEM_CHECK(item));
@@ -1154,9 +1142,6 @@
 				PURPLE_CALLBACK(finch_blist_get_buddy_info_cb), buddy);
 	}
 
-	add_custom_action(menu, _("Add Buddy Pounce"),
-			PURPLE_CALLBACK(finch_blist_pounce_node_cb), buddy);
-
 	if (PURPLE_IS_PROTOCOL_XFER(protocol))
 	{
 		if (purple_protocol_xfer_can_receive(

mercurial