Re: GNode problem



On Sat, 2002-09-07 at 21:09, Cédric Grun wrote:
I've tried to construct the following tree with a GNode structure:
   4
 /    \
3    8
 \    /
   2
but when I insert the node "2" into the child list of the node "8", I 
receive this message during execution :
GLib-CRITICAL **: file gnode.c: line 289 (g_node_insert): assertion 
'G_NODE_IS_ROOT (node)' failed

This is not a tree. It is a graph.

list : 1 parent, 1 child
tree : 1 parent, x children
graph: rest

cu
-- 
 e-trolley Sayegh & John, Nabil Sayegh
 Tel.: 0700 etrolley /// 0700 38765539
 Fax.: +49 69 8299381-8
 PGP : www.e-trolley.de




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