summaryrefslogtreecommitdiff
path: root/test/linear-gradient.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/linear-gradient.c')
-rw-r--r--test/linear-gradient.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/linear-gradient.c b/test/linear-gradient.c
index 8d09df38..fd8da680 100644
--- a/test/linear-gradient.c
+++ b/test/linear-gradient.c
@@ -57,7 +57,8 @@ static const int n_stops[] = { 2, 3 };
cairo_test_t test = {
"linear-gradient",
"Tests the drawing of linear gradients",
- WIDTH, HEIGHT
+ WIDTH, HEIGHT,
+ draw
};
static void
@@ -133,5 +134,5 @@ draw (cairo_t *cr, int width, int height)
int
main (void)
{
- return cairo_test (&test, draw);
+ return cairo_test (&test);
}