diff options
author | Kevin Walzer <kw@codebykevin.com> | 2013-08-25 03:04:43 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2013-08-25 03:04:43 (GMT) |
commit | 74d4360d00d7d7a03fe6527d87e17e9fc64db32b (patch) | |
tree | bcc505f69803d774230779bc116d40195c371a09 /macosx/tkMacOSXScrlbr.c | |
parent | 804d674469dc08e5b32edb2e1f251d2b68711efd (diff) | |
download | tk-74d4360d00d7d7a03fe6527d87e17e9fc64db32b.zip tk-74d4360d00d7d7a03fe6527d87e17e9fc64db32b.tar.gz tk-74d4360d00d7d7a03fe6527d87e17e9fc64db32b.tar.bz2 |
Fix for 3016181, thanks to Tom Goddard for patch
Diffstat (limited to 'macosx/tkMacOSXScrlbr.c')
-rw-r--r-- | macosx/tkMacOSXScrlbr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/macosx/tkMacOSXScrlbr.c b/macosx/tkMacOSXScrlbr.c index 77b89e7..ac71d8e 100644 --- a/macosx/tkMacOSXScrlbr.c +++ b/macosx/tkMacOSXScrlbr.c @@ -254,6 +254,8 @@ TkpDestroyScrollbar( TkScrollbar *scrollPtr) { MacScrollbar *macScrollPtr = (MacScrollbar *) scrollPtr; + NSScroller *scroller = macScrollPtr->scroller; + [scroller setTag:(NSInteger)0]; TkMacOSXMakeCollectableAndRelease(macScrollPtr->scroller); } |