diff options
author | culler <culler> | 2024-05-23 23:32:31 (GMT) |
---|---|---|
committer | culler <culler> | 2024-05-23 23:32:31 (GMT) |
commit | ba5defb6f8c03eb5f52b6641bf002059467df4a1 (patch) | |
tree | 014330fe78a0e969785bcd4d2761177c04723b51 | |
parent | 012c6e1a16eb7548e1d804b07740458d6328dfb8 (diff) | |
download | tk-ba5defb6f8c03eb5f52b6641bf002059467df4a1.zip tk-ba5defb6f8c03eb5f52b6641bf002059467df4a1.tar.gz tk-ba5defb6f8c03eb5f52b6641bf002059467df4a1.tar.bz2 |
fix wm-iconwindow-2.1
-rw-r--r-- | tests/wm.test | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/wm.test b/tests/wm.test index 926615e..2b31e5e 100644 --- a/tests/wm.test +++ b/tests/wm.test @@ -945,10 +945,11 @@ test wm-iconwindow-1.5 {usage} -setup { test wm-iconwindow-2.1 {setting and reading values} -setup { destroy .icon + # Destroying and creating .t prevents a segfault on macOS + destroy .t + toplevel .t set result {} } -body { - #added to avoid a crash on macOS - deiconify .t; update lappend result [wm iconwindow .t] toplevel .icon -width 50 -height 50 -bg green wm iconwindow .t .icon |