[cairo-commit] src/win32

Adrian Johnson ajohnson at kemper.freedesktop.org
Wed Sep 30 07:25:07 PDT 2015


 src/win32/cairo-win32-printing-surface.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e5d4f520aaa0107f82ad7683e4f9763d6edcc23b
Author: Rodrigo Rivas Costa <rodrigorivascosta at gmail.com>
Date:   Wed Sep 30 23:53:23 2015 +0930

    win32-print: fix transparent images have black background
    
    Bug 91835

diff --git a/src/win32/cairo-win32-printing-surface.c b/src/win32/cairo-win32-printing-surface.c
index 6005cb5..cce7040 100644
--- a/src/win32/cairo-win32-printing-surface.c
+++ b/src/win32/cairo-win32-printing-surface.c
@@ -1840,7 +1840,7 @@ cairo_win32_printing_surface_create (HDC hdc)
 				 _cairo_win32_printing_surface_clipper_intersect_clip_path);
 
     surface->win32.format = CAIRO_FORMAT_RGB24;
-    surface->win32.base.content = CAIRO_CONTENT_COLOR_ALPHA;
+    surface->content = CAIRO_CONTENT_COLOR_ALPHA;
 
     surface->win32.dc = hdc;
 


More information about the cairo-commit mailing list