gtkwidget.c: Use G_VA_COPY instead of va_copy()

va_copy() is not universally available, and we already have a G_VA_COPY
macro that emulates the behaviour of va_copy() when it's not available, or
simply calls va_copy() if it's there
This commit is contained in:
Chun-wei Fan 2012-03-08 18:56:32 +08:00
parent 9ac5104b3e
commit 4e5a8b822d

View File

@ -842,7 +842,7 @@ gtk_widget_draw_marshallerv (GClosure *closure,
cairo_t *cr;
va_list args_copy;
va_copy (args_copy, args);
G_VA_COPY (args_copy, args);
cr = va_arg (args_copy, gpointer);
cairo_save (cr);