forked from AuroraMiddleware/gtk
scrolledwindow: Stop setting focus adjustments
Stop setting focus adjustments on the automatically generated viewport.
This commit is contained in:
parent
b315dce757
commit
13b6b9f2b4
@ -3501,10 +3501,6 @@ gtk_scrolled_window_add (GtkContainer *container,
|
||||
else
|
||||
{
|
||||
scrollable_child = gtk_viewport_new (hadj, vadj);
|
||||
gtk_container_set_focus_hadjustment (GTK_CONTAINER (scrollable_child),
|
||||
gtk_scrolled_window_get_hadjustment (GTK_SCROLLED_WINDOW (scrolled_window)));
|
||||
gtk_container_set_focus_vadjustment (GTK_CONTAINER (scrollable_child),
|
||||
gtk_scrolled_window_get_vadjustment (GTK_SCROLLED_WINDOW (scrolled_window)));
|
||||
gtk_container_add (GTK_CONTAINER (scrollable_child), child);
|
||||
priv->auto_added_viewport = TRUE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user