# HG changeset patch # User Sadrul Habib Chowdhury # Date 1220961261 0 # Node ID 4ada5e2189d65743d2483ea29711ab4d1acd0c30 # Parent 67cb8706a2f22a710c003dc7701209a2fad67b1a Use the more appropriate _unregister_handler function. diff -r 67cb8706a2f2 -r 4ada5e2189d6 finch/gntpounce.c --- 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()); }