forked from AuroraMiddleware/gtk
scrolledwindow: Always keep the main child first
Otherwise we can't pick the scrollbars, which are allocated behind it.
This commit is contained in:
parent
343d294bfb
commit
d015b1b29e
@ -4213,7 +4213,7 @@ gtk_scrolled_window_set_child (GtkScrolledWindow *scrolled_window,
|
||||
}
|
||||
|
||||
priv->child = scrollable_child;
|
||||
gtk_widget_set_parent (scrollable_child, GTK_WIDGET (scrolled_window));
|
||||
gtk_widget_insert_after (scrollable_child, GTK_WIDGET (scrolled_window), NULL);
|
||||
|
||||
g_object_set (scrollable_child,
|
||||
"hadjustment", hadj,
|
||||
|
Loading…
Reference in New Issue
Block a user