diff options
author | Mathieu Duponchelle <mathieu@centricular.com> | 2018-05-29 17:54:02 +0200 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2020-07-18 19:47:17 +0100 |
commit | 4645ecf3f89de9e25fc83d7c0fdb89188de7a2a3 (patch) | |
tree | fc8e21f0bf1aae66ed836b04d7a1325232430953 /test/cairo-test.h | |
parent | aee96d175d8349945a6d1948a56abd4b4ec6ad84 (diff) | |
download | cairo-4645ecf3f89de9e25fc83d7c0fdb89188de7a2a3.tar.gz |
record tests: fix when builddir != srcdir
When builddir != srcdir, cairo_test_create_pattern_from_png
needs a non-NULL ctx to work with.
Diffstat (limited to 'test/cairo-test.h')
-rw-r--r-- | test/cairo-test.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/cairo-test.h b/test/cairo-test.h index 7e9605f61..767c1ddf5 100644 --- a/test/cairo-test.h +++ b/test/cairo-test.h @@ -317,6 +317,9 @@ cairo_test_get_reference_image (cairo_test_context_t *ctx, cairo_bool_t cairo_test_mkdir (const char *path); +cairo_t * +cairo_test_create (cairo_surface_t *surface, cairo_test_context_t *ctx); + CAIRO_END_DECLS #endif |