Bug 659907 - gdk_quartz_draw_opaque_stippled_pattern crashes
This commit is contained in:
committed by
Kristian Rietveld
parent
25227a715e
commit
33154e1c7d
@@ -426,7 +426,7 @@ gdk_quartz_draw_opaque_stippled_pattern (void *info,
|
|||||||
CGContextFillRect (context, rect);
|
CGContextFillRect (context, rect);
|
||||||
|
|
||||||
CGContextClipToMask (context, rect, pattern_image);
|
CGContextClipToMask (context, rect, pattern_image);
|
||||||
color = _gdk_quartz_colormap_get_cgcolor_from_pixel (info,
|
color = _gdk_quartz_colormap_get_cgcolor_from_pixel (pinfo->drawable,
|
||||||
_gdk_gc_get_fg_pixel (gc));
|
_gdk_gc_get_fg_pixel (gc));
|
||||||
CGContextSetFillColorWithColor (context, color);
|
CGContextSetFillColorWithColor (context, color);
|
||||||
CGColorRelease (color);
|
CGColorRelease (color);
|
||||||
|
|||||||
Reference in New Issue
Block a user