From 5cdb023e15377d2a3ef013c2beb26d69212ab4f7 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Fri, 3 Dec 2021 06:00:08 +0200 Subject: [PATCH 40/40] gtk3x: Drop explicit widget destroy for toplevel_tabs They get destroyed anyway as part of the main window. Getting rid of gtk_widget_destroy() call is necessary as gtk-3.98.4 drops it. See osdn #43310 Signed-off-by: Marko Lindqvist --- client/gui-gtk-4.0/gui_main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/client/gui-gtk-4.0/gui_main.c b/client/gui-gtk-4.0/gui_main.c index 49806f7752..eff4dd63be 100644 --- a/client/gui-gtk-4.0/gui_main.c +++ b/client/gui-gtk-4.0/gui_main.c @@ -1824,7 +1824,6 @@ void ui_main(int argc, char **argv) cma_fe_done(); free_unit_table(); editgui_free(); - gtk_widget_destroy(toplevel_tabs); gtk_window_destroy(GTK_WINDOW(toplevel)); message_buffer = NULL; /* Result of destruction of everything */ tileset_free_tiles(tileset); -- 2.33.0