summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-03-08 16:43:21 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-03-08 16:43:21 (GMT)
commitd1ae57ec4a370885ef1f013ce7b6585ce211c6b8 (patch)
tree59b40c140db6abad5a73c89c246f1ce0c0581dcf /win
parent2f06f93f705ba316b0374ad2742cfe49227b1aeb (diff)
downloadtk-d1ae57ec4a370885ef1f013ce7b6585ce211c6b8.zip
tk-d1ae57ec4a370885ef1f013ce7b6585ce211c6b8.tar.gz
tk-d1ae57ec4a370885ef1f013ce7b6585ce211c6b8.tar.bz2
Unneccessary *_InitStubs() calls
Diffstat (limited to 'win')
-rw-r--r--win/tkWinSysTray.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/win/tkWinSysTray.c b/win/tkWinSysTray.c
index abd1fac..aca9eb9 100644
--- a/win/tkWinSysTray.c
+++ b/win/tkWinSysTray.c
@@ -1162,17 +1162,6 @@ WinIcoInit(
IcoInterpInfo *icoInterpPtr;
Tk_Window mainWindow;
-#ifdef USE_TCL_STUBS
- if (Tcl_InitStubs(interp, TCL_VERSION, 0) == NULL) {
- return TCL_ERROR;
- }
-#endif
-#ifdef USE_TK_STUBS
- if (Tk_InitStubs(interp, TK_VERSION, 0) == NULL) {
- return TCL_ERROR;
- }
-#endif
-
mainWindow = Tk_MainWindow(interp);
if (mainWindow == NULL) {
Tcl_SetObjResult(interp, Tcl_NewStringObj("main window has been destroyed", -1));