From c5ff27114cf4b2cfdd2a3beece460f7feb44e949 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Fri, 4 Jul 2003 22:01:33 +0000 Subject: Use G_VA_COPY macro from glib instead of va_copy, (hopefully) fixing the 2003-07-04 Christian Persch * lib/ephy-node.c: (callback): Use G_VA_COPY macro from glib instead of va_copy, (hopefully) fixing the va_ problem for good. --- lib/ephy-node.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/ephy-node.c b/lib/ephy-node.c index 14b4bb1e4..6b88c352f 100644 --- a/lib/ephy-node.c +++ b/lib/ephy-node.c @@ -18,7 +18,10 @@ * $Id$ */ +#ifdef HAVE_CONFIG_H #include +#endif + #include #include #include @@ -126,7 +129,7 @@ callback (long id, EphyNodeSignalData *data, gpointer *dummy) user_data = (ENESCData *) dummy; - va_copy(valist, user_data->valist); + G_VA_COPY(valist, user_data->valist); if (data->type != user_data->type) return; -- cgit