pidgin: 7bbe1484: Use the more appropriate _unregister_han...
sadrul at pidgin.im
sadrul at pidgin.im
Tue Sep 9 08:25:30 EDT 2008
-----------------------------------------------------------------
Revision: 7bbe14843cc0f5cc89746d07c3331b91bfa5edf5
Ancestor: 3cbc74478c8df61d53804d0363dc936a3e0adeb7
Author: sadrul at pidgin.im
Date: 2008-09-09T11:54:21
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/7bbe14843cc0f5cc89746d07c3331b91bfa5edf5
Modified files:
finch/gntpounce.c
ChangeLog:
Use the more appropriate _unregister_handler function.
-------------- next part --------------
============================================================
--- finch/gntpounce.c ca06a966af8cd4c9e288f056562a7f8b23a58c77
+++ finch/gntpounce.c 6f2b17da15f2d323271e599d32bbbb32427c5903
@@ -979,15 +979,10 @@ finch_pounces_init(void)
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());
}
More information about the Commits
mailing list