• Zain's avatar
    Fix: bgo #753358 stderr errors when Alt-F4 is used · 7682c9d6
    Zain authored
    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()
    7682c9d6
Name
Last commit
Last update
bin Loading commit data...
data Loading commit data...
help Loading commit data...
meld Loading commit data...
po Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
COPYING Loading commit data...
MANIFEST.in Loading commit data...
NEWS Loading commit data...
README Loading commit data...
README.md Loading commit data...
maint.py Loading commit data...
meld.1 Loading commit data...
meld.doap Loading commit data...
setup.py Loading commit data...
setup_win32.py Loading commit data...