Skip to content

Commit a09f789

Browse files
committed
tests/fontchooser.test, library/fontchooser.tcl: adapt to change in previous commit
1 parent d20e601 commit a09f789

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

library/fontchooser.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ proc ::tk::fontchooser::Create {} {
172172
if {![winfo exists $S(W)]} {
173173
toplevel $S(W) -class TkFontDialog
174174
if {[package provide tcltest] ne {}} {
175-
set ::tk_dialog $S(W)
175+
set ::tk::test::dialog::tk_dialog $S(W)
176176
}
177177
wm withdraw $S(W)
178178
wm title $S(W) $S(-title)

tests/fontchooser.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ tcltest::loadTestedCommands
88

99
# Import utility procs for specific functional areas
1010
namespace import -force ::tk::test::dialog::*
11+
upvar #0 ::tk::test::dialog::tk_dialog tk_dialog
1112
set applyFontCmd [list testDialogFont set]
1213

1314
proc Click {button} {

0 commit comments

Comments
 (0)