fixed the scroll-to-bottom; removed the size-request signal warning
[pspp] / src / ui / gui / psppire-buttonbox.c
index 893e5f29a4639e64b17ee30a58628610760ec00d..ca3c4cd8312dbb30d6f2ad23a579456439a69ae2 100644 (file)
@@ -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;