[cairo-commit] cairo/src cairo-xcb-surface.c,1.39,1.40

Carl Worth commit at pdx.freedesktop.org
Wed Jul 20 23:30:10 PDT 2005


Committed by: cworth

Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv11372/src

Modified Files:
	cairo-xcb-surface.c 
Log Message:

        * src/cairo-xcb-surface.c: (_cairo_xcb_surface_composite),
        (_cairo_xcb_surface_composite_trapezoids): Fix yet another file
        that I missed when I made the cairo_pattern_release_surface
        change. You would think that I would have grepped for all uses of
        this function by now.


Index: cairo-xcb-surface.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-xcb-surface.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- cairo-xcb-surface.c	8 Jul 2005 17:12:29 -0000	1.39
+++ cairo-xcb-surface.c	21 Jul 2005 06:30:08 -0000	1.40
@@ -888,9 +888,9 @@
     }
 
     if (mask)
-	_cairo_pattern_release_surface (&dst->base, &mask->base, &mask_attr);
+	_cairo_pattern_release_surface (mask_pattern, &mask->base, &mask_attr);
     
-    _cairo_pattern_release_surface (&dst->base, &src->base, &src_attr);
+    _cairo_pattern_release_surface (src_pattern, &src->base, &src_attr);
 
     return status;
 }
@@ -977,7 +977,7 @@
 			     render_src_y + attributes.y_offset,
 			     num_traps, (XCBRenderTRAP *) traps);
 
-    _cairo_pattern_release_surface (&dst->base, &src->base, &attributes);
+    _cairo_pattern_release_surface (pattern, &src->base, &attributes);
 
     return status;
 }




More information about the cairo-commit mailing list