diff --git a/gtk/gtkscrolledwindow.c b/gtk/gtkscrolledwindow.c index 81676d6ae9..a56844f542 100644 --- a/gtk/gtkscrolledwindow.c +++ b/gtk/gtkscrolledwindow.c @@ -2687,7 +2687,7 @@ gtk_scrolled_window_allocate_scrollbar (GtkScrolledWindow *scrolled_window, priv = scrolled_window->priv; - gtk_scrolled_window_relative_allocation (widget, &content_allocation); + gtk_scrolled_window_inner_allocation (widget, &content_allocation); sb_spacing = _gtk_scrolled_window_get_scrollbar_spacing (scrolled_window); gtk_widget_get_preferred_height (priv->hscrollbar, &sb_height, NULL); gtk_widget_get_preferred_width (priv->vscrollbar, &sb_width, NULL);