changeset 21434:0463b0733a9e

Silence a warning about blist_node_extended_menu defined but not used by #ifdef 0'ing out the unused definition
author Stu Tomlinson <stu@nosnilmot.com>
date Mon, 12 Nov 2007 01:59:01 +0000
parents eb624956319a
children af861f7aa8c5
files pidgin/plugins/cap/cap.c pidgin/plugins/cap/cap.h
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/plugins/cap/cap.c	Mon Nov 12 01:42:39 2007 +0000
+++ b/pidgin/plugins/cap/cap.c	Mon Nov 12 01:59:01 2007 +0000
@@ -437,6 +437,7 @@
 static void buddy_idle(PurpleBuddy *buddy, gboolean old_idle, gboolean idle) {
 }
 
+#if 0
 static void blist_node_extended_menu(PurpleBlistNode *node, GList **menu) {
 	PurpleBuddy *buddy;
 	PurpleMenuAction *menu_action;
@@ -451,6 +452,7 @@
 			PURPLE_CALLBACK(display_statistics_action_cb), NULL, NULL);
 	*menu = g_list_append(*menu, menu_action);
 }
+#endif
 
 /* drawing-tooltip */
 static void drawing_tooltip(PurpleBlistNode *node, GString *text, gboolean full) {
--- a/pidgin/plugins/cap/cap.h	Mon Nov 12 01:42:39 2007 +0000
+++ b/pidgin/plugins/cap/cap.h	Mon Nov 12 01:59:01 2007 +0000
@@ -99,7 +99,6 @@
 /* buddy-signed-off */
 static void buddy_signed_off(PurpleBuddy *buddy);
 static void buddy_idle(PurpleBuddy *buddy, gboolean old_idle, gboolean idle);
-static void blist_node_extended_menu(PurpleBlistNode *node, GList **menu);
 /* drawing-tooltip */
 static void drawing_tooltip(PurpleBlistNode *node, GString *text, gboolean full);
 /* signed-on */