Skip to content

paned: Protect against NULL variable

Georges Basile Stavracas Neto requested to merge gbsneto/paned-focus-infloop into main

The inner loop in gtk_paned_set_focus_child() tries to find the topmost GtkPaned, however, if the w variable ends up becoming NULL after bubbling up the entire GtkWidget hierarchy, this loop never breaks.

Check for NULL in this loop.

Closes #5094 (closed)

Merge request reports