Ensure GTree is consistent after _destroy()

See comment #9 on bug 587773
This commit is contained in:
Ryan Lortie 2009-07-07 21:29:46 +01:00
parent 7d2bb5f1b1
commit 593ea5f6b0

View File

@ -257,6 +257,8 @@ g_tree_remove_all (GTree *tree)
node = next; node = next;
} }
tree->root = NULL;
tree->nnodes = 0;
} }
/** /**