summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixDraw.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-09-30 22:56:45 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-09-30 22:56:45 (GMT)
commit25c97fd4f962540671a55140d1ff4134c61146b1 (patch)
tree09bd3e004d45db56585441579e89031dfe1060e3 /unix/tkUnixDraw.c
parent66cbfad914f8808001cd64f40d4a6199897c5ab9 (diff)
downloadtk-25c97fd4f962540671a55140d1ff4134c61146b1.zip
tk-25c97fd4f962540671a55140d1ff4134c61146b1.tar.gz
tk-25c97fd4f962540671a55140d1ff4134c61146b1.tar.bz2
Simplify many MacOS-specific types which are not necessary
Diffstat (limited to 'unix/tkUnixDraw.c')
-rw-r--r--unix/tkUnixDraw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tkUnixDraw.c b/unix/tkUnixDraw.c
index ce1011a..404753e 100644
--- a/unix/tkUnixDraw.c
+++ b/unix/tkUnixDraw.c
@@ -24,7 +24,7 @@ typedef struct ScrollInfo {
int done; /* Flag is 0 until filtering is done. */
Display *display; /* Display to filter. */
Window window; /* Window to filter. */
- TkRegion region; /* Region into which damage is accumulated. */
+ Region region; /* Region into which damage is accumulated. */
int dx, dy; /* Amount by which window was shifted. */
} ScrollInfo;
@@ -61,7 +61,7 @@ TkScrollWindow(
int x, int y, int width, int height,
/* Position rectangle to be scrolled. */
int dx, int dy, /* Distance rectangle should be moved. */
- TkRegion damageRgn) /* Region to accumulate damage in. */
+ Region damageRgn) /* Region to accumulate damage in. */
{
Tk_RestrictProc *prevProc;
ClientData prevArg;