diff options
author | dgp <dgp@users.sourceforge.net> | 2002-07-09 17:53:53 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2002-07-09 17:53:53 (GMT) |
commit | 4bc635795e9bf0335e5993887963504e2dd4eba3 (patch) | |
tree | 1edace978ebe84f24e57fa29dede9bdbe11a3d65 /generic/tkTest.c | |
parent | 0ab5803c91ad45c39bb20bd4440d4a2989dbb334 (diff) | |
download | tk-4bc635795e9bf0335e5993887963504e2dd4eba3.zip tk-4bc635795e9bf0335e5993887963504e2dd4eba3.tar.gz tk-4bc635795e9bf0335e5993887963504e2dd4eba3.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/tkTest.c')
-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. */ |