summaryrefslogtreecommitdiffstats
path: root/generic/tkWindow.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-11 11:48:38 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-11 11:48:38 (GMT)
commitcfce00e636e389f48c32d61c5483a913a0a9d656 (patch)
treec9a801ef36f2cf95b58dcb55dd72e10ecfe02f67 /generic/tkWindow.c
parent6b32cafc8e54ed1a7bee854a77191c18186d905e (diff)
parentfa87897c16b0dc6d903c1be0dc80389d9cd072e3 (diff)
downloadtk-cfce00e636e389f48c32d61c5483a913a0a9d656.zip
tk-cfce00e636e389f48c32d61c5483a913a0a9d656.tar.gz
tk-cfce00e636e389f48c32d61c5483a913a0a9d656.tar.bz2
Eliminate all usage of deprecated Tcl_EvalObj, Tcl_GlobalEval and Tcl_GlobalEvalObj functions.
Add [file normalize] to pkgIndex.tcl, in order to prevent '..' in file paths.
Diffstat (limited to 'generic/tkWindow.c')
-rw-r--r--generic/tkWindow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkWindow.c b/generic/tkWindow.c
index f4138b2..f5131a8 100644
--- a/generic/tkWindow.c
+++ b/generic/tkWindow.c
@@ -3051,7 +3051,7 @@ Initialize(
* only an issue when Tk is loaded dynamically.
*/
- if (Tcl_InitStubs(interp, TCL_VERSION, 0) == NULL) {
+ if (Tcl_InitStubs(interp, "8.6", 0) == NULL) {
return TCL_ERROR;
}
@@ -3287,7 +3287,7 @@ Initialize(
geometry = NULL;
}
- if (Tcl_PkgRequire(interp, "Tcl", TCL_VERSION, 0) == NULL) {
+ if (Tcl_PkgRequire(interp, "Tcl", "8.6", 0) == NULL) {
code = TCL_ERROR;
goto done;
}