2009-04-24 Jeff Hobbs <jeffh@ActiveState.com>
+ * tkcon.tcl: clean up cmd global var used [Bug 2441583]
+
* tkcon.tcl (::tkcon::Retrieve): support http code redirect for
downloading latest version. [Bug 1755500]
}
}
}
-catch {unset pkg file name version}
# Tk 8.4 makes previously exposed stuff private.
# FIX: Update tkcon to not rely on the private Tk code.
if {![llength [info globals tkPriv]]} {
::tk::unsupported::ExposePrivateVariable tkPriv
}
-foreach cmd {SetCursor UpDownLine Transpose ScrollPages} {
- if {![llength [info commands tkText$cmd]]} {
- ::tk::unsupported::ExposePrivateCommand tkText$cmd
+foreach name {SetCursor UpDownLine Transpose ScrollPages} {
+ if {![llength [info commands tkText$name]]} {
+ ::tk::unsupported::ExposePrivateCommand tkText$name
}
}
+# Unset temporary global vars
+catch {unset pkg file name version}
+
# Initialize the ::tkcon namespace
#
namespace eval ::tkcon {