Ensure gc clip region valid in _gdk_gc_update_context

There might be an old drawable clip on it, if so remove it.
This commit is contained in:
Alexander Larsson 2009-09-04 15:59:22 +02:00
parent 6ee228a363
commit 294e222fa8

View File

@ -1396,6 +1396,8 @@ _gdk_gc_update_context (GdkGC *gc,
priv = GDK_GC_GET_PRIVATE (gc);
_gdk_gc_remove_drawable_clip (gc);
fill = priv->fill;
if (override_stipple && fill != GDK_OPAQUE_STIPPLED)
fill = GDK_STIPPLED;