summaryrefslogtreecommitdiff
path: root/test/linear-gradient.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2006-07-13 12:58:24 -0400
committerBehdad Esfahbod <behdad@behdad.org>2006-07-13 12:58:24 -0400
commitcf1b23a4c57d436098619443068611a48b88187e (patch)
treecb758aac54afc1e1593b8eaae0dda06b8e1931c4 /test/linear-gradient.c
parentf8eeca97684f7c8eba7b918c34fe5ccbf32e2f5f (diff)
downloadcairo-cf1b23a4c57d436098619443068611a48b88187e.tar.gz
Add prototype for draw in each test file and remove it from the header.
Diffstat (limited to 'test/linear-gradient.c')
-rw-r--r--test/linear-gradient.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/linear-gradient.c b/test/linear-gradient.c
index fd8da6801..7681cbf0f 100644
--- a/test/linear-gradient.c
+++ b/test/linear-gradient.c
@@ -54,6 +54,8 @@ static const int n_stops[] = { 2, 3 };
#define WIDTH N_GRADIENT_ANGLES * UNIT_SIZE + (N_GRADIENT_ANGLES + 1) * PAD
#define HEIGHT N_N_STOPS * N_ROTATE_ANGLES * UNIT_SIZE + (N_N_STOPS * N_ROTATE_ANGLES + 1) * PAD
+static cairo_test_draw_function_t draw;
+
cairo_test_t test = {
"linear-gradient",
"Tests the drawing of linear gradients",