Skip to content

notebook: fix critical when switching page

Michael Catanzaro requested to merge mcatanzaro/#6056 into main

It's expected that gtk_widget_get_root() will return NULL if the widget tree does not contain a root widget. I don't know what that means or why it happens, but it's true in gnome-control-center's network panel when displaying the OpenVPN configuration dialog. We need to handle it.

Fixes #6056 (closed)

Merge request reports