[cairo-commit] test/cairo-test.c

Christian Biesinger biesi at kemper.freedesktop.org
Sun Apr 23 12:23:51 PDT 2006


 test/cairo-test.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletion(-)

New commits:
diff-tree e0bf1378044d606273ee876663498878e0b2edd4 (from 810d9d19854f671d6a5d985b950d7442e59176e3)
Author: Christian Biesinger <cbiesinger at web.de>
Date:   Sun Apr 23 21:20:55 2006 +0200

    Fix create_xcb_surface signature

diff --git a/test/cairo-test.c b/test/cairo-test.c
index fce38fe..00d3fd6 100644
--- a/test/cairo-test.c
+++ b/test/cairo-test.c
@@ -955,8 +955,12 @@ _format_from_cairo(XCBConnection *c, cai
 }
 
 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;


More information about the cairo-commit mailing list