diff options
author | Owen Taylor <otaylor@redhat.com> | 1999-02-25 00:04:18 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 1999-02-25 00:04:18 +0000 |
commit | da219872d8d76f42113c36ba4112a5281db227c4 (patch) | |
tree | 528d3eb64b818403f345063e7ee9a9f8e5d5ed7e /gtk/gtkclist.c | |
parent | 6333998df43ee467ddf3b4285338872df860018b (diff) | |
download | gtk+-da219872d8d76f42113c36ba4112a5281db227c4.tar.gz |
Unset the clip mask for the GC if we set it. (Patch from Lars Hamann
Wed Feb 24 19:08:51 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkclist.c (draw_cell_pixmap): Unset the clip
mask for the GC if we set it. (Patch from
Lars Hamann <lars@gtk.org>)
Diffstat (limited to 'gtk/gtkclist.c')
-rw-r--r-- | gtk/gtkclist.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkclist.c b/gtk/gtkclist.c index 5b2d4bd213..02aa3c45ec 100644 --- a/gtk/gtkclist.c +++ b/gtk/gtkclist.c @@ -5566,6 +5566,8 @@ draw_cell_pixmap (GdkWindow *window, gdk_draw_pixmap (window, fg_gc, pixmap, xsrc, ysrc, x, y, width, height); gdk_gc_set_clip_origin (fg_gc, 0, 0); + if (mask) + gdk_gc_set_clip_mask (fg_gc, NULL); return x + MAX (width, 0); } |