scrolledwindow: Avoid a critical
authorMatthias Clasen <mclasen@redhat.com>
Mon, 10 Apr 2023 04:22:20 +0000 (00:22 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 10 Apr 2023 04:22:20 +0000 (00:22 -0400)
commitaa9e83876dda6bca8ee98788436ac463ed26b6c0
tree1e1948c4654e2e7a6b8b49fdbd099e103e44f6d5
parentd8796b3075b49e85def51cb6f9b9127dc4faf5a9
scrolledwindow: Avoid a critical

When setting the child property to NULL, we also need
to unset auto_added_viewport, to avoid triggering a
critical when setting it again.
gtk/gtkscrolledwindow.c