Skip to content

gtktreeview: Fix child access after TEST_EXPAND_ROW

Thomas Holder requested to merge speleo3/gtk:gtk-3-24-inkscape-1879 into gtk-3-24

In gtk_tree_view_build_tree with recurse=TRUE, the TEST_EXPAND_ROW signal might invalidate the child iterator. Getting the iterator after the signal (instead of before) fixes the issue.

Fixes downstream Inkscape bug https://gitlab.com/inkscape/inkscape/-/issues/1879

Merge request reports