[cairo-commit] src/cairo-xcb-surface-render.c

Andrea Canciani ranma42 at kemper.freedesktop.org
Sat Oct 30 01:23:33 PDT 2010


 src/cairo-xcb-surface-render.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 5b2ed2422dffb407d80ec38ac0502ba951368ad2
Author: Uli Schlachter <psychon at znc.in>
Date:   Sat Oct 30 09:57:40 2010 +0200

    xcb: Do not access flags directly
    
    This fixes compilation of the xcb backend by porting commit e9c1fc31887c5bfbb's
    changes from the image backend.
    
    Signed-off-by: Uli Schlachter <psychon at znc.in>

diff --git a/src/cairo-xcb-surface-render.c b/src/cairo-xcb-surface-render.c
index f7db491..404b7d3 100644
--- a/src/cairo-xcb-surface-render.c
+++ b/src/cairo-xcb-surface-render.c
@@ -3512,7 +3512,7 @@ _cairo_xcb_surface_render_stroke (cairo_xcb_surface_t	*surface,
     }
 
     status = CAIRO_INT_STATUS_UNSUPPORTED;
-    if (path->is_rectilinear) {
+    if (_cairo_path_fixed_stroke_is_rectilinear (path)) {
 	cairo_boxes_t boxes;
 
 	_cairo_boxes_init (&boxes);
@@ -3695,7 +3695,7 @@ _cairo_xcb_surface_render_fill (cairo_xcb_surface_t	*surface,
     }
 
     status = CAIRO_INT_STATUS_UNSUPPORTED;
-    if (_cairo_path_fixed_is_rectilinear_fill (path)) {
+    if (_cairo_path_fixed_fill_is_rectilinear (path)) {
 	cairo_boxes_t boxes;
 
 	_cairo_boxes_init (&boxes);


More information about the cairo-commit mailing list