From 3fe9b18a032f6035b0dc62a91c325b641c5f0253 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sun, 18 Sep 2022 07:23:33 +0300 Subject: [PATCH 36/36] gtk4: Fix bad setup_widgets() cast of GtkBox to GtkGrid See osdn #45623 Signed-off-by: Marko Lindqvist --- client/gui-gtk-4.0/gui_main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/client/gui-gtk-4.0/gui_main.c b/client/gui-gtk-4.0/gui_main.c index 1fe768558b..e19199cd6b 100644 --- a/client/gui-gtk-4.0/gui_main.c +++ b/client/gui-gtk-4.0/gui_main.c @@ -1190,10 +1190,9 @@ static void setup_widgets(void) overview_canvas_store_height = OVERVIEW_CANVAS_STORE_HEIGHT; } - /* this holds the overview canvas, production info, etc. */ + /* This holds the overview canvas, production info, etc. */ vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 3); - gtk_grid_set_column_spacing(GTK_GRID(vbox), 3); - /* Put vgrid to the left of anything else in hgrid -- right_vbox is either + /* Put vbox to the left of anything else in hgrid -- right_vbox is either * the chat/messages pane, or NULL which is OK */ gtk_grid_attach_next_to(GTK_GRID(hgrid), vbox, right_vbox, GTK_POS_LEFT, 1, 1); -- 2.35.1