[gaim-migrate @ 14844]

Sat, 17 Dec 2005 19:25:36 +0000

author
Nathan Walp <nwalp@pidgin.im>
date
Sat, 17 Dec 2005 19:25:36 +0000
changeset 12531
c3b10e46acc0
parent 12530
b33f97566985
child 12532
11866c147d98

[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

plugins/docklet/docklet.c file | annotate | diff | comparison | revisions
--- 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();
 }
 

mercurial