changeset 24078:4ada5e2189d6

Use the more appropriate _unregister_handler function.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Tue, 09 Sep 2008 11:54:21 +0000
parents 67cb8706a2f2
children f085e284f2df 216f8eb9d82d
files finch/gntpounce.c
diffstat 1 files changed, 1 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/finch/gntpounce.c	Mon Sep 08 23:04:15 2008 +0000
+++ b/finch/gntpounce.c	Tue Sep 09 11:54:21 2008 +0000
@@ -979,15 +979,10 @@
 						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, dummy_pounce_cb, NULL, NULL);
+	purple_pounces_unregister_handler(FINCH_UI);
 
 	purple_signals_disconnect_by_handle(finch_pounces_get_handle());
 }