summaryrefslogtreecommitdiff
path: root/test/create-from-png.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2005-07-14 11:17:12 +0000
committerCarl Worth <cworth@cworth.org>2005-07-14 11:17:12 +0000
commit574b702029894f035791a99600130b16f30ddd55 (patch)
tree520f82c8bc4f45f0477e199e69751d3cd12422bc /test/create-from-png.c
parentc41e9d698f5dbc318819fb958618b704dbc5388a (diff)
downloadcairo-574b702029894f035791a99600130b16f30ddd55.tar.gz
Rename create-for-png test to create-from-png to match the naming of the cairo_image_surface_create_from_png function.
Diffstat (limited to 'test/create-from-png.c')
-rw-r--r--test/create-from-png.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/create-from-png.c b/test/create-from-png.c
index ef3b6f62e..f4fd1b934 100644
--- a/test/create-from-png.c
+++ b/test/create-from-png.c
@@ -31,7 +31,7 @@
#define HEIGHT 2
cairo_test_t test = {
- "create-for-png",
+ "create-from-png",
"Tests the creation of an image surface from a PNG file",
WIDTH, HEIGHT
};
@@ -44,7 +44,7 @@ draw (cairo_t *cr, int width, int height)
cairo_surface_t *surface;
xasprintf (&filename, "%s/%s", srcdir ? srcdir : ".",
- "create-for-png-ref.png");
+ "create-from-png-ref.png");
surface = cairo_image_surface_create_from_png (filename);
free (filename);