diff options
author | dgp@users.sourceforge.net <dgp> | 2002-07-09 17:53:53 (GMT) |
---|---|---|
committer | dgp@users.sourceforge.net <dgp> | 2002-07-09 17:53:53 (GMT) |
commit | bda518fc0473af64a31968ec54218b1b979fa292 (patch) | |
tree | 1edace978ebe84f24e57fa29dede9bdbe11a3d65 /generic | |
parent | a482852ec2a2826ff6175c1679f373396d0ad192 (diff) | |
download | tk-bda518fc0473af64a31968ec54218b1b979fa292.zip tk-bda518fc0473af64a31968ec54218b1b979fa292.tar.gz tk-bda518fc0473af64a31968ec54218b1b979fa292.tar.bz2 |
* generic/tkTest.c: Removed unused dependence on TclThread_Init()
* tests/defs.tcl: and [testthread]. [Bug 578165, Tcl Bug 531413]
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkTest.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/generic/tkTest.c b/generic/tkTest.c index afc882d..d506dce 100644 --- a/generic/tkTest.c +++ b/generic/tkTest.c @@ -13,7 +13,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkTest.c,v 1.16 2002/01/17 05:13:11 dgp Exp $ + * RCS: @(#) $Id: tkTest.c,v 1.17 2002/07/09 17:53:54 dgp Exp $ */ #include "tkInt.h" @@ -222,7 +222,6 @@ static void TrivialEventProc _ANSI_ARGS_((ClientData clientData, */ extern int TkplatformtestInit _ANSI_ARGS_((Tcl_Interp *interp)); -extern int TclThread_Init _ANSI_ARGS_((Tcl_Interp *interp)); #if !(defined(__WIN32__) || defined(MAC_TCL)) #define TkplatformtestInit(x) TCL_OK @@ -299,12 +298,6 @@ Tktest_Init(interp) (ClientData) Tk_MainWindow(interp), (Tcl_CmdDeleteProc *) NULL); #endif -#ifdef TCL_THREADS - if (TclThread_Init(interp) != TCL_OK) { - return TCL_ERROR; - } -#endif - /* * Create test image type. */ |