From 294e222fa8d516b5dee6c989a57a5538ef93fe37 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Fri, 4 Sep 2009 15:59:22 +0200 Subject: [PATCH] Ensure gc clip region valid in _gdk_gc_update_context There might be an old drawable clip on it, if so remove it. --- gdk/gdkgc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gdk/gdkgc.c b/gdk/gdkgc.c index e721ff5655..44c2aa7aae 100644 --- a/gdk/gdkgc.c +++ b/gdk/gdkgc.c @@ -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;