The fix in commit
a267dfac5d25d4ba5c1a95c82999d008fee07ac3 is wrong.
The function can return FALSE in normal operation.
Instead do a check for node == NULL that gracefully returns FALSE instead.
Fixes: #6114
*column = real_column;
gtk_tree_model_get_iter (priv->model, &iter, real_path);
- if (!_gtk_tree_view_find_node (tree_view, real_path, &tree, &node))
+ _gtk_tree_view_find_node (tree_view, real_path, &tree, &node);
+ if (node == NULL)
{
- g_assert_not_reached ();
+ if (!path)
+ gtk_tree_path_free (real_path);
+ return TRUE;
}
/* Check if there's an expander arrow at (x, y) */