Re: custom TreeModel



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

muppet wrote:

Gtk-CRITICAL **: file gtktreeview.c: line 4827  (validate_visible_area):
assertion `has_next' failed.
There is a disparity between the internal view of the GtkTreeView,
and the GtkTreeModel.  This generally means that the model has changed
without letting the view know.  Any display from now on is likely to
be incorrect.

I guess my clear() method isn't perfect.


I can't recreate this with a little test program, so obviously i'm  not
exercising the broken code.  Can you post some driver code that 
exhibits the problem?

the attached example shows the problem.

it is based on customlist.pl and I added a 'refresh' button
and a clear() method. clear should clear the treeview and clean the
$self->{rows} array.




- --
Jens Luedicke
web: http://perldude.de

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDCfp5iCvkc4H0gTERAiJAAJ9L+RNT0El0PtrHSGoccn3kTZkL8ACeOObF
S1JxIPqSE4DOT0sRTq9UPKc=
=WS4d
-----END PGP SIGNATURE-----



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