quartz: _gdk_quartz_gc_update_cg_context(): the minimum line width is 1.0

not G_MINFLOAT. Patch from Kristian Rietveld.
This commit is contained in:
Michael Natterer 2012-11-08 15:00:38 +01:00 committed by Michael Natterer
parent 376fc4d712
commit 5934ad2e22

View File

@ -551,7 +551,7 @@ _gdk_quartz_gc_update_cg_context (GdkGC *gc,
CGContextSetStrokeColorWithColor (context, color);
CGColorRelease (color);
CGContextSetLineWidth (context, MAX (G_MINFLOAT, private->line_width));
CGContextSetLineWidth (context, MAX (1.0, private->line_width));
switch (private->line_style)
{