Mercurial > pidgin
changeset 12531:5d118a3207a9
[gaim-migrate @ 14844]
today's lesson, kids, is that va_args are not to be messed with, unless you
are actually going to use them
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sat, 17 Dec 2005 19:25:36 +0000 |
parents | 74f449e10d88 |
children | 112deca9e645 |
files | plugins/docklet/docklet.c |
diffstat | 1 files changed, 1 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/docklet/docklet.c Sat Dec 17 18:56:42 2005 +0000 +++ b/plugins/docklet/docklet.c Sat Dec 17 19:25:36 2005 +0000 @@ -265,14 +265,8 @@ } static void -docklet_update_status_cb(void *data, ...) +docklet_update_status_cb(void *data) { - /* The odd function arguments allow this callback to be used for - * any signal which has a pointer as the first callback parameter. - * Although ugly, it allows this single callback to be used instead - * of multiple functions with different signatures that do the same - * thing. - */ docklet_update_status(); }