diff options
Diffstat (limited to 'gtk/gtkrbtree.c')
-rw-r--r-- | gtk/gtkrbtree.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkrbtree.c b/gtk/gtkrbtree.c index bae1fc249a..18cdf6e387 100644 --- a/gtk/gtkrbtree.c +++ b/gtk/gtkrbtree.c @@ -815,6 +815,8 @@ _gtk_rbtree_reorder (GtkRBTree *tree, { reorder = g_array_index (array, GtkRBReorder, i); node->children = reorder.children; + if (node->children) + node->children->parent_node = node; node->flags = GTK_RBNODE_GET_COLOR (node) | reorder.flags; /* We temporarily set the height to this. */ node->offset = reorder.height; |