mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 14:00:09 +00:00
guard against child removal in row-expanded callback. (#366782, John
2006-10-29 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against child removal in row-expanded callback. (#366782, John Ellis).
This commit is contained in:
parent
1739daf8e0
commit
736755e07d
@ -1,3 +1,8 @@
|
||||
2006-10-29 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against
|
||||
child removal in row-expanded callback. (#366782, John Ellis).
|
||||
|
||||
2006-10-29 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling
|
||||
|
@ -11778,7 +11778,7 @@ gtk_tree_view_real_expand_row (GtkTreeView *tree_view,
|
||||
install_presize_handler (tree_view);
|
||||
|
||||
g_signal_emit (tree_view, tree_view_signals[ROW_EXPANDED], 0, &iter, path);
|
||||
if (open_all)
|
||||
if (open_all && node->children)
|
||||
{
|
||||
_gtk_rbtree_traverse (node->children,
|
||||
node->children->root,
|
||||
|
Loading…
Reference in New Issue
Block a user