Use the more appropriate _unregister_handler function.

Tue, 09 Sep 2008 11:54:21 +0000

author
Sadrul Habib Chowdhury <sadrul@pidgin.im>
date
Tue, 09 Sep 2008 11:54:21 +0000
changeset 24277
7e5ed4acb4b0
parent 24276
469eea3c328d
child 24278
f29179a60838
child 24285
1047fc785a58

Use the more appropriate _unregister_handler function.

finch/gntpounce.c file | annotate | diff | comparison | revisions
--- 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());
 }

mercurial