summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generic/tkInt.h2
-rw-r--r--unix/tkUnixRFont.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkInt.h b/generic/tkInt.h
index bc0e0a3..88e0c25 100644
--- a/generic/tkInt.h
+++ b/generic/tkInt.h
@@ -1219,7 +1219,7 @@ MODULE_SCOPE Status TkParseColor (Display * display,
XColor * colorPtr);
#endif
#ifdef HAVE_XFT
-MODULE_SCOPE void TkUnixSetXftClipRegion(Region clipRegion);
+MODULE_SCOPE void TkUnixSetXftClipRegion(TkRegion clipRegion);
#endif
/*
diff --git a/unix/tkUnixRFont.c b/unix/tkUnixRFont.c
index a8f5289..4203ff9 100644
--- a/unix/tkUnixRFont.c
+++ b/unix/tkUnixRFont.c
@@ -1124,12 +1124,12 @@ TkDrawAngledChars(
void
TkUnixSetXftClipRegion(
- Region clipRegion) /* The clipping region to install. */
+ TkRegion clipRegion) /* The clipping region to install. */
{
ThreadSpecificData *tsdPtr = (ThreadSpecificData *)
Tcl_GetThreadData(&dataKey, sizeof(ThreadSpecificData));
- tsdPtr->clipRegion = clipRegion;
+ tsdPtr->clipRegion = (Region) clipRegion;
}
/*