diff options
author | mdejong <mdejong> | 2002-06-19 20:40:54 (GMT) |
---|---|---|
committer | mdejong <mdejong> | 2002-06-19 20:40:54 (GMT) |
commit | 4c835938a6d9c14fb14dbea95ed9bc7a150aa3f7 (patch) | |
tree | 9a5f8d0a7289eee558dbfa3d58c0296895d729fb | |
parent | 269467e7e537a5d383d8a063a27c8ece5ee3a9e9 (diff) | |
download | tk-4c835938a6d9c14fb14dbea95ed9bc7a150aa3f7.zip tk-4c835938a6d9c14fb14dbea95ed9bc7a150aa3f7.tar.gz tk-4c835938a6d9c14fb14dbea95ed9bc7a150aa3f7.tar.bz2 |
* generic/tkClipboard.c (TkClipCleanup): Add code
to set dispPtr->clipWindow to NULL, this was
accidently removed by last commit. Fixes
a crash while running the tests under win32.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | generic/tkClipboard.c | 3 |
2 files changed, 9 insertions, 1 deletions
@@ -1,5 +1,12 @@ 2002-06-19 Mo DeJong <mdejong@users.sourceforge.net> + * generic/tkClipboard.c (TkClipCleanup): Add code + to set dispPtr->clipWindow to NULL, this was + accidently removed by last commit. Fixes + a crash while running the tests under win32. + +2002-06-19 Mo DeJong <mdejong@users.sourceforge.net> + * generic/tkBind.c (TkBindDeadWindow): Handle case where Tk_DestroyWindow is invoked on clipboard and send windows. diff --git a/generic/tkClipboard.c b/generic/tkClipboard.c index c43d621..83fb376 100644 --- a/generic/tkClipboard.c +++ b/generic/tkClipboard.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkClipboard.c,v 1.10 2002/06/19 19:37:54 mdejong Exp $ + * RCS: @(#) $Id: tkClipboard.c,v 1.11 2002/06/19 20:40:55 mdejong Exp $ */ #include "tkInt.h" @@ -652,6 +652,7 @@ TkClipCleanup(dispPtr) Tk_DestroyWindow(dispPtr->clipWindow); Tcl_Release((ClientData) dispPtr->clipWindow); + dispPtr->clipWindow = NULL; } } |