From b823c7c4220d64f47c85207c0907780926786648 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sun, 14 Nov 2021 02:33:51 +0200 Subject: [PATCH 13/13] fcmp gtk: Free main window when quitting See osdn #43074 Signed-off-by: Marko Lindqvist --- tools/mpgui_gtk2.c | 1 + tools/mpgui_gtk3.c | 1 + 2 files changed, 2 insertions(+) diff --git a/tools/mpgui_gtk2.c b/tools/mpgui_gtk2.c index 19ac974859..3e03613613 100644 --- a/tools/mpgui_gtk2.c +++ b/tools/mpgui_gtk2.c @@ -615,6 +615,7 @@ int main(int argc, char *argv[]) gtk_main(); + gtk_widget_destroy(toplevel); save_install_info_lists(&fcmp); } diff --git a/tools/mpgui_gtk3.c b/tools/mpgui_gtk3.c index 3ad0658efc..a4c0e88b54 100644 --- a/tools/mpgui_gtk3.c +++ b/tools/mpgui_gtk3.c @@ -622,6 +622,7 @@ int main(int argc, char *argv[]) gtk_main(); + gtk_widget_destroy(toplevel); save_install_info_lists(&fcmp); } -- 2.33.0