Skip to content

preferences-page: Don't manually add a viewport

This lets GTK manually add a GtkViewport and bind the scrolled window's vertical adjustment to the viewport's, meaning the scrolled window now automatically adjusts on the focused child.

This also drops the private vadjustment accessor and drops code in HdyPreferencesWindow to manually adjust on the selected child.

TL;DR: we do more with less.

Edited by Adrien Plazas

Merge request reports