[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cairo-commit
Subject:    [cairo-commit] cairo/src cairo_xcb_surface.c,1.6,1.7
From:       Jamey Sharp <commit () pdx ! freedesktop ! org>
Date:       2004-07-25 2:30:07
Message-ID: 20040725023007.F10D49F6D4 () freedesktop ! org
[Download RAW message or body]

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@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;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic