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

Carl Worth cworth at kemper.freedesktop.org
Thu May 4 14:46:42 PDT 2006


 test/cairo-test.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

New commits:
diff-tree 57a0242d0621020279bd33c3b0312463bf78cc42 (from 8c9da52dc285576e47b4e527487f0b2451ab87cc)
Author: Ian Osgood <iano at quirkster.com>
Date:   Thu May 4 14:29:03 2006 -0700

    Additional piece of "Fix the XCB backend build for the XCB 0.9 release."

diff --git a/test/cairo-test.c b/test/cairo-test.c
index c6846c6..55785de 100644
--- a/test/cairo-test.c
+++ b/test/cairo-test.c
@@ -980,13 +980,13 @@ create_xcb_surface (cairo_test_t	 *test,
     if (height == 0)
 	height = 1;
 
-    xtc->c = c = XCBConnectBasic();
+    xtc->c = c = XCBConnect(NULL,NULL);
     if (c == NULL) {
 	cairo_test_log ("Failed to connect to X server through XCB\n");
 	return NULL;
     }
 
-    root = XCBConnSetupSuccessRepRootsIter(XCBGetSetup(c)).data;
+    root = XCBSetupRootsIter(XCBGetSetup(c)).data;
 
     xtc->drawable.pixmap = XCBPIXMAPNew (c);
     {


More information about the cairo-commit mailing list