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. --- ChangeLog | 7 +++++++ lib/ephy-node.c | 5 ++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1732d217b..af08acdab 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +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. + 2003-07-04 Christian Persch * embed/ephy-favicon-cache.c: (favicon_download_completed_cb): 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 v1.2.3