summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-04-20 11:10:31 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-04-20 11:10:31 (GMT)
commitcc1144423482d3d3469d9dc8e4ba68d73bf79653 (patch)
treedf23597d7abcd9fd31dd5fa12a79684021bb2d09 /library
parent6644b8b7ad2134b73c7483ad6426a7acaa7bd2de (diff)
downloadtk-cc1144423482d3d3469d9dc8e4ba68d73bf79653.zip
tk-cc1144423482d3d3469d9dc8e4ba68d73bf79653.tar.gz
tk-cc1144423482d3d3469d9dc8e4ba68d73bf79653.tar.bz2
Proposed fix for [f63c37be3a]: functionality on a safe interpreter with Tk
Diffstat (limited to 'library')
-rw-r--r--library/tk.tcl4
1 files changed, 3 insertions, 1 deletions
diff --git a/library/tk.tcl b/library/tk.tcl
index 7a70f21..0ef1d20 100644
--- a/library/tk.tcl
+++ b/library/tk.tcl
@@ -507,7 +507,9 @@ if {$::tk_library ne ""} {
SourceLibFile scale
SourceLibFile scrlbar
SourceLibFile spinbox
- SourceLibFile systray
+ if {![interp issafe]} {
+ SourceLibFile systray
+ }
SourceLibFile text
}
}