summaryrefslogtreecommitdiffstats
path: root/library/systray.tcl
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2020-11-12 23:11:56 (GMT)
committerfvogel <fvogelnew1@free.fr>2020-11-12 23:11:56 (GMT)
commitb9d9bcf3c6570f6d5a33a5f20c15a63c6e3b2d42 (patch)
tree8a4fb68c70fb9112f9fb28892ef493e4a73b98db /library/systray.tcl
parente3afd823cf91545e48039f0b03587a596effd5b0 (diff)
downloadtk-b9d9bcf3c6570f6d5a33a5f20c15a63c6e3b2d42.zip
tk-b9d9bcf3c6570f6d5a33a5f20c15a63c6e3b2d42.tar.gz
tk-b9d9bcf3c6570f6d5a33a5f20c15a63c6e3b2d42.tar.bz2
Unshadow the destroy command from the global namespace. This makes the 'tk systray destroy' command work on Linux, and the systray test file pass on Linux.
Diffstat (limited to 'library/systray.tcl')
-rw-r--r--library/systray.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/systray.tcl b/library/systray.tcl
index 4608776..48ebfa2 100644
--- a/library/systray.tcl
+++ b/library/systray.tcl
@@ -259,7 +259,7 @@ proc ::tk::systray::destroy {} {
set _ico ""
}
"x11" {
- destroy ._tray
+ ::destroy ._tray
}
"aqua" {
_systray destroy