mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-06 08:40:08 +00:00
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:
parent
9ac5104b3e
commit
4e5a8b822d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user