From ca28c149d130858ff0b492438d06889771583429 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Wed, 1 Dec 2021 17:10:52 +0200 Subject: [PATCH 35/35] gtk3x: Correct gtk_window_destroy(toplevel) casting See osdn #43308 Signed-off-by: Marko Lindqvist --- client/gui-gtk-4.0/gui_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/gui-gtk-4.0/gui_main.c b/client/gui-gtk-4.0/gui_main.c index e5a3e7e7ef..49806f7752 100644 --- a/client/gui-gtk-4.0/gui_main.c +++ b/client/gui-gtk-4.0/gui_main.c @@ -1825,7 +1825,7 @@ void ui_main(int argc, char **argv) free_unit_table(); editgui_free(); gtk_widget_destroy(toplevel_tabs); - gtk_window_destroy(toplevel); + gtk_window_destroy(GTK_WINDOW(toplevel)); message_buffer = NULL; /* Result of destruction of everything */ tileset_free_tiles(tileset); } -- 2.33.0