Commit 7682c9d
Fix: bgo #753358 stderr errors when Alt-F4 is used
Problem:
When meld is launched from console, usecase is git difftool,
After closing App using Alt+F4 console displays multiple error messages
Error Messages look like
(meld:18521): Gtk-CRITICAL **: gtk_container_foreach: assertion 'GTK_IS_CONTAINER (container)' failed
Cause:
closing window triggers do_window_removed
Unlike when Quit is choosen from Menu, self.quit() is never called
Gtk complains and adds error messages on STDERR
Solution:
When do_window_removed is called check if there are any active windows
If there is no active window, call self.quit()1 parent 7dcfef0 commit 7682c9d
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
| 102 | + | |
101 | 103 | | |
102 | 104 | | |
103 | 105 | | |
| |||
0 commit comments