summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndrea Canciani <ranma42@gmail.com>2011-01-24 10:35:23 +0100
committerAndrea Canciani <ranma42@gmail.com>2011-01-24 10:35:23 +0100
commit062e78b620cd6161f0a2fd2644866fb5d957a9db (patch)
tree4e78491e95c42dcce05cfb897efd9e95bfa238e6 /test
parentc7b16098bd700c6cc82e8fce49eda606ac84ad24 (diff)
Fix regressions from 1.10 merge
d6dc6e8e396506d5160266dda6575ddfce671c2d introduced two regressions: - the compiler warns about _gradient_stops_are_opaque being unused in cairo-pdf-surface.c - get-path-extents now checks for the wrong extents, thus it fails
Diffstat (limited to 'test')
-rw-r--r--test/get-path-extents.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/get-path-extents.c b/test/get-path-extents.c
index a9a6ad1f..5bd3eb70 100644
--- a/test/get-path-extents.c
+++ b/test/get-path-extents.c
@@ -148,8 +148,7 @@ draw (cairo_t *cr, int width, int height)
phase = "Degenerate arc (R=0)";
errors += !check_extents (ctx, phase, cr2, FILL, EQUALS, 0, 0, 0, 0);
errors += !check_extents (ctx, phase, cr2, STROKE, EQUALS, 0, 0, 0, 0);
- /*XXX: I'd expect these extents to be oriented at 200, 400 */
- errors += !check_extents (ctx, phase, cr2, PATH, EQUALS, 0, 0, 0, 0);
+ errors += !check_extents (ctx, phase, cr2, PATH, EQUALS, 200, 400, 0, 0);
cairo_new_path (cr2);
cairo_arc (cr2, 200, 400, 10., 0, 0);