diff options
author | Sven Neumann <sven@svenfoo.org> | 2021-01-04 14:06:21 +0100 |
---|---|---|
committer | Sven Neumann <sven@svenfoo.org> | 2021-01-04 14:08:38 +0100 |
commit | a9ea73ae0ccbac354b34673be214b6e581700c22 (patch) | |
tree | 3636696eff294e45a3e418fccf630952d7e6e802 /test/subsurface.c | |
parent | 0bf2c140d2dc6521c6f925b1757f2d4809eabf18 (diff) | |
download | cairo-a9ea73ae0ccbac354b34673be214b6e581700c22.tar.gz |
Fix compiler warnings in test suite
Fix some enum mixups, mostly cairo_status_t vs cairo_test_status_t.
Diffstat (limited to 'test/subsurface.c')
-rw-r--r-- | test/subsurface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/subsurface.c b/test/subsurface.c index 812776c0a..9af2ca06a 100644 --- a/test/subsurface.c +++ b/test/subsurface.c @@ -48,8 +48,8 @@ draw (cairo_t *cr, int width, int height) cairo_surface_destroy (region[i]); cairo_select_font_face (cr_region, "@cairo:", - CAIRO_FONT_WEIGHT_NORMAL, - CAIRO_FONT_SLANT_NORMAL); + CAIRO_FONT_SLANT_NORMAL, + CAIRO_FONT_WEIGHT_NORMAL); cairo_set_font_size (cr_region, 20); cairo_text_extents (cr_region, buf, &extents); cairo_move_to (cr_region, |