summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-12 23:17:18 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-12 23:17:18 (GMT)
commitfb936420494d686c56f39d882b36b318f0ba8fd5 (patch)
treeebbb94a3edfe6d211562a4c85bec867b76a28e70 /library
parentfa87897c16b0dc6d903c1be0dc80389d9cd072e3 (diff)
downloadtk-fb936420494d686c56f39d882b36b318f0ba8fd5.zip
tk-fb936420494d686c56f39d882b36b318f0ba8fd5.tar.gz
tk-fb936420494d686c56f39d882b36b318f0ba8fd5.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 boths
Diffstat (limited to 'library')
-rw-r--r--library/demos/widget1
-rw-r--r--library/tk.tcl6
2 files changed, 1 insertions, 6 deletions
diff --git a/library/demos/widget b/library/demos/widget
index d58f086..162497e 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
package require Ttk
diff --git a/library/tk.tcl b/library/tk.tcl
index 8d6f0f9..b69648f 100644
--- a/library/tk.tcl
+++ b/library/tk.tcl
@@ -10,12 +10,8 @@
# See the file "license.terms" for information on usage and redistribution of
# this file, and for a DISCLAIMER OF ALL WARRANTIES.
-package require Tcl 8.5 ;# Guard against [source] in an 8.4- interp before
- ;# using 8.5 [package] features.
-# Insist on running with compatible version of Tcl
-package require Tcl 8.5.0
# Verify that we have Tk binary and script components from the same release
-package require -exact Tk 8.5.13
+package require -exact Tk 8.5.13
# Create a ::tk namespace
namespace eval ::tk {