summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cairo-private.h4
-rw-r--r--src/cairo.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/cairo-private.h b/src/cairo-private.h
index 24ab3c13..ccae0a41 100644
--- a/src/cairo-private.h
+++ b/src/cairo-private.h
@@ -46,9 +46,9 @@ struct _cairo {
cairo_user_data_array_t user_data;
- cairo_path_fixed_t path;
-
cairo_gstate_t *gstate;
+
+ cairo_path_fixed_t path;
};
#endif /* CAIRO_PRIVATE_H */
diff --git a/src/cairo.c b/src/cairo.c
index 46f2c0bf..00f1cfaf 100644
--- a/src/cairo.c
+++ b/src/cairo.c
@@ -48,14 +48,14 @@ static const cairo_t cairo_nil = {
CAIRO_REF_COUNT_INVALID, /* ref_count */
CAIRO_STATUS_NO_MEMORY, /* status */
{ 0, 0, 0, NULL }, /* user_data */
+ NULL, /* gstate */
{ /* path */
{ 0, 0 }, /* last_move_point */
{ 0, 0 }, /* current point */
FALSE, /* has_current_point */
FALSE, /* has_curve_to */
NULL, {0} /* buf_tail, buf_head */
- },
- NULL /* gstate */
+ }
};
#include <assert.h>