diff options
author | culler <culler> | 2017-10-25 21:13:04 (GMT) |
---|---|---|
committer | culler <culler> | 2017-10-25 21:13:04 (GMT) |
commit | 98dddd839fdd1e84b494c9e62a942872c527f4e5 (patch) | |
tree | 3176d7d8898599310a6e4cfc52e5dbdd14efe9e6 /macosx/tkMacOSXDraw.c | |
parent | 15727ae9d328a10362065fec8b99ba364640c575 (diff) | |
download | tk-98dddd839fdd1e84b494c9e62a942872c527f4e5.zip tk-98dddd839fdd1e84b494c9e62a942872c527f4e5.tar.gz tk-98dddd839fdd1e84b494c9e62a942872c527f4e5.tar.bz2 |
Fix a typo and remove an unused function.
Diffstat (limited to 'macosx/tkMacOSXDraw.c')
-rw-r--r-- | macosx/tkMacOSXDraw.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/macosx/tkMacOSXDraw.c b/macosx/tkMacOSXDraw.c index c25f478..02ea812 100644 --- a/macosx/tkMacOSXDraw.c +++ b/macosx/tkMacOSXDraw.c @@ -1480,31 +1480,6 @@ XMaxRequestSize( /* *---------------------------------------------------------------------- * - * TkpDrawingIsDisabled -- - * - * Query whether the given window is disabled, in this case drawing - * is also disabled. - * - * Results: - * Whether the drawing is disabled. - * - * Side effects: - * None. - * - *---------------------------------------------------------------------- - */ - -int -TkpDrawingIsDisabled( - Tk_Window tkwin) -{ - MacDrawable *macWin = ((TkWindow *) tkwin)->privatePtr; - return macWin && !!(macWin->flags & TK_DO_NOT_DRAW); -} - -/* - *---------------------------------------------------------------------- - * * TkScrollWindow -- * * Scroll a rectangle of the specified window and accumulate |