Re: Annoyance with treestore (SimpleList) and remove row

Mike Martin <redtux1 gmail com> writes:

 Gtk-CRITICAL **: gtk_list_store_get_value: assertion `VALID_ITER
(iter, list_store)' failed at /usr/lib/perl5/Gtk2/ line

Oh, a TiedRow hangs onto an iter, so if the row it refers to has been
removed then that may be the error you get trying to fetch from it.

If that's so then I think this came up not so long ago - that perhaps
TiedRow should use a TreeRowReference so as to notice when its target
has gone away.  Or its own row-deleted handler for the same effect
(perhaps just the one handler to crunch all tied rows of a given model).

Slowly but surely the excrement of foreign poets will come to your
village.  (Mali proverb)

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