summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhobbs <hobbs>2006-04-05 21:00:00 (GMT)
committerhobbs <hobbs>2006-04-05 21:00:00 (GMT)
commitaf008950b3f9e6ff70885ef2b2922dbeb0654c6b (patch)
treebd3f2eff2a853878fc8a1cbe5b970473feb77ac3
parentee1adf1486555ec6159f35a5e2d3f7f150dc9573 (diff)
downloadtk-af008950b3f9e6ff70885ef2b2922dbeb0654c6b.zip
tk-af008950b3f9e6ff70885ef2b2922dbeb0654c6b.tar.gz
tk-af008950b3f9e6ff70885ef2b2922dbeb0654c6b.tar.bz2
* generic/tkWindow.c (Initialize): remove impotent use of
DeleteWindowsExitProc as a global exit handler.
-rw-r--r--generic/tkWindow.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/generic/tkWindow.c b/generic/tkWindow.c
index a5d64d1..d61e1ec 100644
--- a/generic/tkWindow.c
+++ b/generic/tkWindow.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: tkWindow.c,v 1.71 2005/11/17 16:21:56 dkf Exp $
+ * RCS: @(#) $Id: tkWindow.c,v 1.72 2006/04/05 21:00:00 hobbs Exp $
*/
#include "tkPort.h"
@@ -3135,11 +3135,10 @@ Initialize(interp)
/*
* Create exit handlers to delete all windows when the application or
- * thread exits. These handler need to be invoked before other platform
+ * thread exits. The handler need to be invoked before other platform
* specific cleanups take place to avoid panics in finalization.
*/
- TkCreateExitHandler(DeleteWindowsExitProc, (ClientData) NULL);
TkCreateThreadExitHandler(DeleteWindowsExitProc, (ClientData) tsdPtr);
done: