summaryrefslogtreecommitdiff
path: root/test/create-from-png.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2005-04-26 09:43:39 +0000
committerCarl Worth <cworth@cworth.org>2005-04-26 09:43:39 +0000
commit618792c8c041ee2004acf1ff411e0adbe94a3e63 (patch)
treeaddfa265b29791d2b7340925495c7860ca1aeb51 /test/create-from-png.c
parenta5f734455c00f1031f19494717b02a5de2687ec0 (diff)
Add very simple test to generate PDF output, (no automated verification yet).
Track PNG interface changes, (no more include of cairo-png.h, cairo_surface_write_png renamed to cairo_surface_write_to_png).
Diffstat (limited to 'test/create-from-png.c')
-rw-r--r--test/create-from-png.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/create-from-png.c b/test/create-from-png.c
index 4a93905ef..861801501 100644
--- a/test/create-from-png.c
+++ b/test/create-from-png.c
@@ -26,7 +26,6 @@
#include "cairo-test.h"
#include <stdlib.h>
-#include <cairo-png.h>
#define WIDTH 2
#define HEIGHT 2
@@ -42,7 +41,6 @@ draw (cairo_t *cr, int width, int height)
{
char *srcdir = getenv ("srcdir");
char *filename;
- FILE *file;
cairo_surface_t *surface;
int png_width, png_height;