diff options
author | Alexander Larsson <alexl@redhat.com> | 2009-09-04 15:59:22 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2009-09-04 16:06:51 +0200 |
commit | 294e222fa8d516b5dee6c989a57a5538ef93fe37 (patch) | |
tree | 0b8321893c11ab8450fad89b27ca76f434648fe9 | |
parent | 6ee228a36349a26a96a5e51d31d055be45b712be (diff) | |
download | gdk-pixbuf-294e222fa8d516b5dee6c989a57a5538ef93fe37.tar.gz |
Ensure gc clip region valid in _gdk_gc_update_context
There might be an old drawable clip on it, if so remove it.
-rw-r--r-- | gdk/gdkgc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/gdkgc.c b/gdk/gdkgc.c index e721ff565..44c2aa7aa 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; |