Make g_tree_remove() and g_tree_steal() return FALSE if the node is found but cannot...
authorDana Jansens <danakj@orodu.net>
Fri, 30 Oct 2009 22:24:32 +0000 (18:24 -0400)
committerDana Jansens <danakj@orodu.net>
Thu, 12 Nov 2009 21:54:05 +0000 (16:54 -0500)
commit229e6da10dbeda590543e54f7d8abf0ced661cc2
treebc218a84df54017f6601924b4e9df0840ceef1b5
parente8cb0d2716851e79f05ddea67d671ff28b43bb30
Make g_tree_remove() and g_tree_steal() return FALSE if the node is found but cannot be removed because it is in an older version of the tree.

This should help people from freeing things accidentally based on the return result.  Also, change comments for these functions to reflect their behaviour in a tree with multiple versions.
glib/gtree.c