Re: Handling parent & child behaviour using tree view
- From: Diego Zuccato <diego otello alma unibo it>
- To: Saba Khan <s_i_uk hotmail com>, gtk-list <gtk-list gnome org>
- Subject: Re: Handling parent & child behaviour using tree view
- Date: Wed, 06 Dec 2006 13:13:44 +0100
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]