]> Pileus Git - ~andy/gtk/commit
rbtree: Move to an approach where we don't move contents
authorBenjamin Otte <otte@redhat.com>
Mon, 21 Nov 2011 15:07:52 +0000 (16:07 +0100)
committerBenjamin Otte <otte@redhat.com>
Mon, 21 Nov 2011 21:33:45 +0000 (22:33 +0100)
commit02671f9ec9388276571a51ce9fbeb30b030bb1f7
tree1a6230b7b3cbc9a41cd1953dc976a5640ea27f9b
parent1dd9dd45c1654f6c13c8eb19f493028636e396b3
rbtree: Move to an approach where we don't move contents

So instead of copying the children and height to the new node, we keep
the old node and copy all the old stuff to it.

This is necessary so the accessibility code can use the node as a key in
the hash table or store the node as a reference to the row instead of
GtkTreeRowReference. And because it already does that (oops), this fixes
a bunch of segfaults with a11y enabled.
gtk/gtkrbtree.c