summaryrefslogtreecommitdiffstats
path: root/generic/tkWindow.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkWindow.c')
-rw-r--r--generic/tkWindow.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/generic/tkWindow.c b/generic/tkWindow.c
index d40e7de..ac69455 100644
--- a/generic/tkWindow.c
+++ b/generic/tkWindow.c
@@ -3024,7 +3024,7 @@ Initialize(
* Ensure that we are getting a compatible version of Tcl.
*/
- if (Tcl_InitStubs(interp, TCL_VERSION ".0", 0) == NULL) {
+ if (Tcl_InitStubs(interp, "8.5.0", 0) == NULL) {
return TCL_ERROR;
}
@@ -3275,6 +3275,10 @@ Initialize(
Tcl_SetMainLoop(Tk_MainLoop);
+#undef Tk_InitStubs
+
+ Tk_InitStubs(interp, TK_VERSION, 1);
+
/*
* Initialized the themed widget set
*/