summaryrefslogtreecommitdiff
path: root/test/create-from-png.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2005-05-10 20:25:38 +0000
committerCarl Worth <cworth@cworth.org>2005-05-10 20:25:38 +0000
commitb05c85eafb953fbe082b67875865ae4e4ca56ed2 (patch)
treee6997cd68fd5f9772e7a79342bbe01f568357f92 /test/create-from-png.c
parent40796148b87eea991a9c624061a978821f108de6 (diff)
downloadcairo-b05c85eafb953fbe082b67875865ae4e4ca56ed2.tar.gz
Removing mucking around with stderr and add a cairo_test_log function instead.
Switch all error messages from fprintf(stderr,...) to cairo_test_log(...).
Diffstat (limited to 'test/create-from-png.c')
-rw-r--r--test/create-from-png.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/create-from-png.c b/test/create-from-png.c
index f77d906c8..ef3b6f62e 100644
--- a/test/create-from-png.c
+++ b/test/create-from-png.c
@@ -50,7 +50,7 @@ draw (cairo_t *cr, int width, int height)
free (filename);
if (surface == NULL) {
- fprintf (stderr, "Error: failed to open file %s\n", filename);
+ cairo_test_log ("Error: failed to open file %s\n", filename);
return CAIRO_TEST_FAILURE;
}