Re: Problem with GtkTreeModel, simultaneous iterating and append



Thanks, but problem solved in the meantime.

edscott wilson garcia írta:
Probably a hack but... if you append the row to a treepath greater than
that of the iterator, no problem. But if you append it to a path less
than that represented by the iterator, the iterator will be knocked off
track. That's just what I've observed.

Edscott

				gtk_list_store_set (ptgdb_internal->tetelek,
					&iter1, TETEL_SZTORNO, TRUE,
					osszeg, -1);

This was the erroneous line, I deleted the index but forgot to delete
the value from this statement. Part of the binary of the double contained
something that was caught as a valid index and garbage value afterwards. :-|

--
Best regards,
Zoltán Böszörményi

---------------------
What did Hussein say about his knife?
One in Bush worth two in the hand.




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