Re: Invalid GtkTreeIter



El mar, 03-11-2009 a las 16:53 -0500, dhk escribiÃ:
I have a program that declares a number of GtkTreeIter's.  Recently the
prepending to the parent iter broke.  I found out that, in some cases,
the stamp to the iter's are negative just after the iter is declared.
This means the iter is invalid.  The following test program does the
same thing.

Why aren't all the stamps to the four iter's (a, b, c, and d) valid and
positive?

Because your iters are not initialized at all... you are going the wrong
way on the search for a solution to your initial problem. What do you
mean by "prepending to the parent iter broke"?

Claudio

-- 
Claudio Saavedra <csaavedra gnome org>




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