Mercurial > pidgin
changeset 20299:62d0c7885618
applied changes from 2dc8fc60a9db3bce83fb319e9406ec3c01575911
through 63162f419a649bdd77b85cff73c4c490ec863ed1
log message:
| Pounce handlers cannot have a null callback.
committer: Luke Schierer <lschiere@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Fri, 19 Oct 2007 16:22:50 +0000 |
parents | a2220ad38ebd |
children | 96a6a9eef15b |
files | finch/gntpounce.c |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/finch/gntpounce.c Fri Oct 19 16:22:08 2007 +0000 +++ b/finch/gntpounce.c Fri Oct 19 16:22:50 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()); }