diff options
Diffstat (limited to 'src/cairoint.h')
-rw-r--r-- | src/cairoint.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/cairoint.h b/src/cairoint.h index c4b22f24..25849818 100644 --- a/src/cairoint.h +++ b/src/cairoint.h @@ -937,11 +937,12 @@ typedef union { } cairo_gradient_pattern_union_t; typedef union { - cairo_pattern_t base; + cairo_pattern_type_t type; + cairo_pattern_t base; - cairo_solid_pattern_t solid; - cairo_surface_pattern_t surface; - cairo_gradient_pattern_union_t gradient; + cairo_solid_pattern_t solid; + cairo_surface_pattern_t surface; + cairo_gradient_pattern_union_t gradient; } cairo_pattern_union_t; typedef struct _cairo_surface_attributes { |