summaryrefslogtreecommitdiff
path: root/test/trap-clip.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2005-07-18 08:04:16 +0000
committerCarl Worth <cworth@cworth.org>2005-07-18 08:04:16 +0000
commit751e059f5c506138c478fbcc2e9dfe8e92aaa3ab (patch)
treecac7e85528b44e32e2ee196baa3f956f9382d8ab /test/trap-clip.c
parent584954859ead08491cd5ed04aec54aae6b1048b8 (diff)
Note some progress.
New helper function to help create an image surface from a PNG file, while taking the srcdir environment variable into consideration. Rename the pattern creating helper function to match. Use new cairo_test_create_surface_from_png so that non-srcdir builds work. Track change in cairo_test_create_pattern_from_png.
Diffstat (limited to 'test/trap-clip.c')
-rw-r--r--test/trap-clip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/trap-clip.c b/test/trap-clip.c
index dddb94cb2..75b06a83d 100644
--- a/test/trap-clip.c
+++ b/test/trap-clip.c
@@ -63,7 +63,7 @@ set_image_pattern (cairo_t *cr, int x, int y)
{
cairo_pattern_t *pattern;
- pattern = cairo_test_create_png_pattern (cr, png_filename);
+ pattern = cairo_test_create_pattern_from_png (png_filename);
cairo_set_source (cr, pattern);
cairo_pattern_destroy (pattern);
}