From bbe7466c123844217a10214083e2f2d793af8dfd Mon Sep 17 00:00:00 2001 From: John Darrington Date: Tue, 19 May 2015 17:09:54 +0200 Subject: [PATCH] Gtk+3: Replace deprecated gtk_widget_size_request with gtk_widget_get_preferred_size --- src/ui/gui/psppire-buttonbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/gui/psppire-buttonbox.c b/src/ui/gui/psppire-buttonbox.c index 893e5f29a4..ca3c4cd831 100644 --- a/src/ui/gui/psppire-buttonbox.c +++ b/src/ui/gui/psppire-buttonbox.c @@ -469,7 +469,7 @@ _psppire_button_box_child_requisition (GtkWidget *widget, { gboolean is_secondary = FALSE; nchildren += 1; - gtk_widget_size_request (child, &child_requisition); + gtk_widget_get_preferred_size (child, NULL, &child_requisition); if (child_requisition.width + ipad_w > needed_width) needed_width = child_requisition.width + ipad_w; -- 2.30.2