changeset 13055:48a72998676c

[gaim-migrate @ 15417] Sadrul pointed this out. I can't test this either, but I think it works. :) committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Sat, 28 Jan 2006 01:18:41 +0000
parents fd57413bc421
children b00a592651b6
files src/signals.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/signals.c	Sat Jan 28 00:26:18 2006 +0000
+++ b/src/signals.c	Sat Jan 28 01:18:41 2006 +0000
@@ -540,8 +540,10 @@
 	}
 
 #ifdef HAVE_DBUS
+	G_VA_COPY(tmp, args)
 	gaim_dbus_signal_emit_gaim(signal, signal_data->num_values, 
-				   signal_data->values, args);
+				   signal_data->values, tmp);
+	va_end(tmp);
 #endif	/* HAVE_DBUS */
 
 	for (l = signal_data->handlers; l != NULL; l = l_next)