summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-12 23:22:23 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-12 23:22:23 (GMT)
commit7062a2ca83cbd806d0b71a33d69a25212514a83c (patch)
treeb3dec8b38b5e65f898ceadaa232b055063f12d10 /library
parent7e9cd69cb54782aca78dd08297b6e64125d97de1 (diff)
parent78a1f4d7347b0e312f73cb18b14e4490401a33b7 (diff)
downloadtk-7062a2ca83cbd806d0b71a33d69a25212514a83c.zip
tk-7062a2ca83cbd806d0b71a33d69a25212514a83c.tar.gz
tk-7062a2ca83cbd806d0b71a33d69a25212514a83c.tar.bz2
"package require Tk 8.5" already implies "package require Tcl 8.5" (That's what the Tcl_InitStubs does), so there is no need to test both.
Diffstat (limited to 'library')
-rw-r--r--library/demos/widget1
-rw-r--r--library/tk.tcl5
2 files changed, 1 insertions, 5 deletions
diff --git a/library/demos/widget b/library/demos/widget
index 8b92f9a..08aada1 100644
--- a/library/demos/widget
+++ b/library/demos/widget
@@ -10,7 +10,6 @@ exec wish "$0" ${1+"$@"}
# separate ".tcl" files is this directory, which are sourced by this script as
# needed.
-package require Tcl 8.5
package require Tk 8.5
package require msgcat
diff --git a/library/tk.tcl b/library/tk.tcl
index b421d0b..ec4571d 100644
--- a/library/tk.tcl
+++ b/library/tk.tcl
@@ -10,11 +10,8 @@
# See the file "license.terms" for information on usage and redistribution of
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
-# Insist on running with compatible version of Tcl
-package require Tcl 8.6
# Verify that we have Tk binary and script components from the same release
-package require -exact Tk 8.6.0
-
+package require -exact Tk 8.6.0
# Create a ::tk namespace
namespace eval ::tk {
# Set up the msgcat commands