diff finch/gntpounce.c @ 23768:31611d5d6a4a

merge of '8b98876f03b683ae6805d673e713f30f16b7f6e9' and 'c3fe9bf88d02997989374e7ecc80a3f2462ee462'
author Richard Laager <rlaager@wiktel.com>
date Sat, 15 Nov 2008 23:47:18 +0000
parents 62d0c7885618
children fdefa5eb46e2
line wrap: on
line diff
--- a/finch/gntpounce.c	Mon Oct 29 02:12:15 2007 +0000
+++ b/finch/gntpounce.c	Sat Nov 15 23:47:18 2008 +0000
@@ -964,10 +964,15 @@
 						PURPLE_CALLBACK(signed_on_off_cb), NULL);
 }
 
+static void
+dummy_pounce_cb(PurplePounce *pounce, PurplePounceEvent events, void *data)
+{
+}
+
 /* XXX: There's no such thing in pidgin. Perhaps there should be? */
 void finch_pounces_uninit()
 {
-	purple_pounces_register_handler(FINCH_UI, NULL, NULL, NULL);
+	purple_pounces_register_handler(FINCH_UI, dummy_pounce_cb, NULL, NULL);
 
 	purple_signals_disconnect_by_handle(finch_pounces_get_handle());
 }