[cairo-commit] cairo-demo/X11 cairo-demo.c,1.8,1.9
Jamey Sharp
commit at pdx.freedesktop.org
Sat Jul 24 19:31:21 PDT 2004
Committed by: jamey
Update of /cvs/cairo/cairo-demo/X11
In directory pdx:/tmp/cvs-serv31999/X11
Modified Files:
cairo-demo.c
Log Message:
Updated for XCB API change around iterators.
Index: cairo-demo.c
===================================================================
RCS file: /cvs/cairo/cairo-demo/X11/cairo-demo.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** cairo-demo.c 11 May 2004 14:45:32 -0000 1.8
--- cairo-demo.c 25 Jul 2004 02:31:19 -0000 1.9
***************
*** 312,316 ****
XCBVISUALTYPE *v;
! for(di = XCBSCREENAllowedDepths(root); di.rem; XCBDEPTHNext(&di))
{
int i;
--- 312,316 ----
XCBVISUALTYPE *v;
! for(di = XCBSCREENAllowedDepthsIter(root); di.rem; XCBDEPTHNext(&di))
{
int i;
***************
*** 334,338 ****
Window root;
#else /* CAIRO_HAS_XCB_SURFACE */
! XCBSCREEN *root = XCBConnSetupSuccessRepRoots(XCBGetSetup(win->dpy)).data;
CARD32 mask = XCBCWBackPixel | XCBCWEventMask;
CARD32 values[] = { root->black_pixel, StructureNotifyMask | ExposureMask };
--- 334,338 ----
Window root;
#else /* CAIRO_HAS_XCB_SURFACE */
! XCBSCREEN *root = XCBConnSetupSuccessRepRootsIter(XCBGetSetup(win->dpy)).data;
CARD32 mask = XCBCWBackPixel | XCBCWEventMask;
CARD32 values[] = { root->black_pixel, StructureNotifyMask | ExposureMask };
More information about the cairo-commit
mailing list