summaryrefslogtreecommitdiffstats
path: root/generic/ttk/ttkLabel.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2012-09-14 15:03:36 (GMT)
committerdgp <dgp@users.sourceforge.net>2012-09-14 15:03:36 (GMT)
commita8512fc0800ca93149c86ad526313794ea16be36 (patch)
treebf5c160a96385cbbfa85adeb08dea3460d3ba323 /generic/ttk/ttkLabel.c
parent970db01541fa840ec5e11fa8178a154ee94d5d9f (diff)
parente829dc68c26b7b313b94f777def7bb49c471422b (diff)
downloadtk-a8512fc0800ca93149c86ad526313794ea16be36.zip
tk-a8512fc0800ca93149c86ad526313794ea16be36.tar.gz
tk-a8512fc0800ca93149c86ad526313794ea16be36.tar.bz2
merge trunk
Diffstat (limited to 'generic/ttk/ttkLabel.c')
-rw-r--r--generic/ttk/ttkLabel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/ttk/ttkLabel.c b/generic/ttk/ttkLabel.c
index 0f554a6..0f71970 100644
--- a/generic/ttk/ttkLabel.c
+++ b/generic/ttk/ttkLabel.c
@@ -185,8 +185,8 @@ static void TextDraw(TextElement *text, Tk_Window tkwin, Drawable d, Ttk_Box b)
#ifdef HAVE_XFT
TkUnixSetXftClipRegion(None);
#endif
- TkSetRegion(Tk_Display(tkwin), gc1, None);
- TkSetRegion(Tk_Display(tkwin), gc2, None);
+ XSetClipMask(Tk_Display(tkwin), gc1, None);
+ XSetClipMask(Tk_Display(tkwin), gc2, None);
TkDestroyRegion(clipRegion);
}
Tk_FreeGC(Tk_Display(tkwin), gc1);