GTree



I have seen that you have added a 'destroy notify' function to GHash. I
think this would also be a good feature in GTree and G[S]List . Actually
( in a litte programm i wrote ) i store the data in a GSList and
pointers in the GTree. Then i first delete the data in the list and then
destroy the tree ... maybe i'm missing some functionality of glib and
this could be done a better way.
I think it wouldn't be hard to implement something like
g_tree_destroy(GTree *tree,GDestroyFunc *func), but i actually never
looked at the code :-) ... 

MfG 

flo





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]