From 9b1c537fdbdf5bcad2f73bbad8eb06983889ff78 Mon Sep 17 00:00:00 2001 From: Mark Levedahl Date: Tue, 20 May 2025 13:53:52 -0400 Subject: git-gui: remove non-ttk code git-gui has code paths to support older non-ttk widgets, but this code is no longer reachable as ttk is always used. Remove that code. Signed-off-by: Mark Levedahl --- lib/console.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/console.tcl') diff --git a/lib/console.tcl b/lib/console.tcl index ad6804bc34..267699408c 100644 --- a/lib/console.tcl +++ b/lib/console.tcl @@ -27,7 +27,7 @@ constructor embed {path title} { } method _init {} { - global M1B use_ttk + global M1B if {$is_toplevel} { make_dialog top w -autodelete 0 -- cgit v1.3