Re: Handling parent & child behaviour using tree view



Saba Khan ha scritto:
> HI,
> Thank you for prompt reply. I am using this code so please check it out.
> But when it reach to the method gtk_tree_model_iter_parent(), it shows
> warning which is listed below.

> if (gtk_tree_model_iter_parent(GTK_TREE_MODEL (TreeModel), &iter, &cSessionIter))
As Yeti said, you're passing rubbish: iter and cSessionIter are swapped.
AFAICS cSessionIter is not initialized (== rubbish). The SECOND
parameter is an OUTPUT, the third is an INPUT. See the docs.

BYtE,
 Diego.



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