From c42ec7676d733152791c4701728675efc7f69aec Mon Sep 17 00:00:00 2001 From: Scoopta Date: Thu, 12 Mar 2020 17:09:45 -0700 Subject: [PATCH] The width of entries is no longer set by widget_allocate() --- src/wofi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wofi.c b/src/wofi.c index ff98f5a..638b91c 100644 --- a/src/wofi.c +++ b/src/wofi.c @@ -422,12 +422,12 @@ static void widget_allocate(GtkWidget* widget, GdkRectangle* allocation, gpointe ++ratio; } if(ratio > 1) { - gtk_widget_set_size_request(widget, width, max_height * ratio); + gtk_widget_set_size_request(widget, -1, max_height * ratio); } else { max_height = allocation->height; } } else { - gtk_widget_set_size_request(widget, width, max_height); + gtk_widget_set_size_request(widget, -1, max_height); } } else { max_height = allocation->height;