Re: Handling parent & child behaviour using tree view

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

 



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.
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux