aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-node.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-07-05 06:01:33 +0800
committerChristian Persch <chpe@src.gnome.org>2003-07-05 06:01:33 +0800
commitc5ff27114cf4b2cfdd2a3beece460f7feb44e949 (patch)
treec9d84e8996796b543ffc90ec37ec8dee8fb9ac6d /lib/ephy-node.c
parent364f0a7d3e5ed8f891ca850ef25aa417c34ba8ea (diff)
downloadgsoc2013-epiphany-c5ff27114cf4b2cfdd2a3beece460f7feb44e949.tar
gsoc2013-epiphany-c5ff27114cf4b2cfdd2a3beece460f7feb44e949.tar.gz
gsoc2013-epiphany-c5ff27114cf4b2cfdd2a3beece460f7feb44e949.tar.bz2
gsoc2013-epiphany-c5ff27114cf4b2cfdd2a3beece460f7feb44e949.tar.lz
gsoc2013-epiphany-c5ff27114cf4b2cfdd2a3beece460f7feb44e949.tar.xz
gsoc2013-epiphany-c5ff27114cf4b2cfdd2a3beece460f7feb44e949.tar.zst
gsoc2013-epiphany-c5ff27114cf4b2cfdd2a3beece460f7feb44e949.zip
Use G_VA_COPY macro from glib instead of va_copy, (hopefully) fixing the
2003-07-04 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-node.c: (callback): Use G_VA_COPY macro from glib instead of va_copy, (hopefully) fixing the va_ problem for good.
Diffstat (limited to 'lib/ephy-node.c')
-rw-r--r--lib/ephy-node.c5
1 files changed, 4 insertions, 1 deletions
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 <config.h>
+#endif
+
#include <bonobo/bonobo-i18n.h>
#include <stdlib.h>
#include <string.h>
@@ -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;