Mercurial > pidgin.yaz
changeset 20714:1e123d315ac6
Pounce handlers cannot have a null callback.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 29 Sep 2007 08:33:37 +0000 |
parents | 8ed95ae6441b |
children | df58938e9f61 |
files | finch/gntpounce.c |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/finch/gntpounce.c Sat Sep 29 07:40:14 2007 +0000 +++ b/finch/gntpounce.c Sat Sep 29 08:33:37 2007 +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()); }