From e7b9afcb94e349a9716b86178b9392d20b35eded Mon Sep 17 00:00:00 2001 From: John Darrington Date: Fri, 26 Feb 2016 17:39:48 +0100 Subject: [PATCH] Remove attempts do destroy windows before quit. This change deletes an attempt to remove all existing windows from a list (and thereby unreffing and deleting them). The attempt fails, because lists may not be altered whilst iterating them. This resulted only in a Critical Warning. It is also pointless to attempt to destroy windows immediately priot to quit. --- src/ui/gui/psppire.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/ui/gui/psppire.c b/src/ui/gui/psppire.c index 1b0031b23f..2096184d39 100644 --- a/src/ui/gui/psppire.c +++ b/src/ui/gui/psppire.c @@ -194,9 +194,6 @@ func (gpointer key, gpointer value, gpointer data) void psppire_quit (void) { - PsppireWindowRegister *reg = psppire_window_register_new (); - psppire_window_register_foreach (reg, func, NULL); - gtk_main_quit (); } -- 2.30.2