[cairo-commit] cairo/src cairo_xcb_surface.c,1.6,1.7

Jamey Sharp commit at pdx.freedesktop.org
Sat Jul 24 19:30:07 PDT 2004


Committed by: jamey

Update of /cvs/cairo/cairo/src
In directory pdx:/tmp/cvs-serv31657/src

Modified Files:
	cairo_xcb_surface.c 
Log Message:
2004-07-24  Jamey Sharp <jamey at minilop.net>

	* src/cairo_xcb_surface.c:
	Updating for XCB API change around iterators.


Index: cairo_xcb_surface.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo_xcb_surface.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** cairo_xcb_surface.c	17 Jun 2004 01:16:04 -0000	1.6
--- cairo_xcb_surface.c	25 Jul 2004 02:30:05 -0000	1.7
***************
*** 49,55 ****
  	return nil;
  
!     for(si = XCBRenderQueryPictFormatsScreens(r); si.rem; XCBRenderPICTSCREENNext(&si))
! 	for(di = XCBRenderPICTSCREENDepths(si.data); di.rem; XCBRenderPICTDEPTHNext(&di))
! 	    for(vi = XCBRenderPICTDEPTHVisuals(di.data); vi.rem; XCBRenderPICTVISUALNext(&vi))
  		if(vi.data->visual.id == visual.id)
  		{
--- 49,55 ----
  	return nil;
  
!     for(si = XCBRenderQueryPictFormatsScreensIter(r); si.rem; XCBRenderPICTSCREENNext(&si))
! 	for(di = XCBRenderPICTSCREENDepthsIter(si.data); di.rem; XCBRenderPICTDEPTHNext(&di))
! 	    for(vi = XCBRenderPICTDEPTHVisualsIter(di.data); vi.rem; XCBRenderPICTVISUALNext(&vi))
  		if(vi.data->visual.id == visual.id)
  		{
***************
*** 124,128 ****
  	return ret;
  
!     for(fi = XCBRenderQueryPictFormatsFormats(r); fi.rem; XCBRenderPICTFORMINFONext(&fi))
      {
  	const XCBRenderDIRECTFORMAT *t, *f;
--- 124,128 ----
  	return ret;
  
!     for(fi = XCBRenderQueryPictFormatsFormatsIter(r); fi.rem; XCBRenderPICTFORMINFONext(&fi))
      {
  	const XCBRenderDIRECTFORMAT *t, *f;




More information about the cairo-commit mailing list