From e0bf1378044d606273ee876663498878e0b2edd4 Mon Sep 17 00:00:00 2001 From: Christian Biesinger Date: Sun, 23 Apr 2006 21:20:55 +0200 Subject: [PATCH] Fix create_xcb_surface signature --- test/cairo-test.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/cairo-test.c b/test/cairo-test.c index fce38fe48..00d3fd6c8 100644 --- a/test/cairo-test.c +++ b/test/cairo-test.c @@ -955,8 +955,12 @@ _format_from_cairo(XCBConnection *c, cairo_format_t fmt) } static cairo_surface_t * -create_xcb_surface (int width, int height, void **closure) +create_xcb_surface (cairo_test_t *test, + cairo_content_t content, + void **closure) { + int width = test->width; + int height = test->height; XCBSCREEN *root; xcb_target_closure_t *xtc; cairo_surface_t *surface;