[cairo-commit] src/cairo-win32-private.h src/cairo-win32-surface.c

Adrian Johnson ajohnson at kemper.freedesktop.org
Wed Jul 20 02:10:39 PDT 2011


 src/cairo-win32-private.h |    4 ++--
 src/cairo-win32-surface.c |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit aaa1ed81c20b359cf2d96fe1831273d91abeeb9b
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Wed Jul 20 18:36:21 2011 +0930

    win32: Fix build breakage

diff --git a/src/cairo-win32-private.h b/src/cairo-win32-private.h
index b60c101..e00b38b 100644
--- a/src/cairo-win32-private.h
+++ b/src/cairo-win32-private.h
@@ -171,7 +171,7 @@ _cairo_win32_surface_show_glyphs_internal (void			 *surface,
 					   cairo_glyph_t	 *glyphs,
 					   int			  num_glyphs,
 					   cairo_scaled_font_t	 *scaled_font,
-					   cairo_clip_t		 *clip,
+					   const cairo_clip_t	 *clip,
 					   int			 *remaining_glyphs,
 					   cairo_bool_t		  glyph_indices);
 
@@ -182,7 +182,7 @@ _cairo_win32_surface_show_glyphs (void			*surface,
 				  cairo_glyph_t		*glyphs,
 				  int			 num_glyphs,
 				  cairo_scaled_font_t	*scaled_font,
-				  cairo_clip_t		*clip,
+				  const cairo_clip_t	*clip,
 				  int			*remaining_glyphs);
 
 cairo_surface_t *
diff --git a/src/cairo-win32-surface.c b/src/cairo-win32-surface.c
index f309b4b..45c809f 100644
--- a/src/cairo-win32-surface.c
+++ b/src/cairo-win32-surface.c
@@ -1569,7 +1569,7 @@ _cairo_win32_surface_show_glyphs_internal (void			 *surface,
 	    cairo_region_t *clip_region;
 	    cairo_status_t status;
 
-	    status = _cairo_clip_get_region (clip, &clip_region);
+	    clip_region = _cairo_clip_get_region (clip);
 	    assert (status != CAIRO_INT_STATUS_NOTHING_TO_DO);
 	    if (status)
 		return status;


More information about the cairo-commit mailing list