On Sun, 2005-10-02 Daniel Brodie wrote:
> only thing I am really doing is just returning True for some values and
> False for other values in the model. Heck, I even used a random function
> to do the sorting to see if its a problem with my sorting algorithm and
> it still segments. If I always return True or False then everything is
> OK.
On Mon, 2005-10-03 at 10:31 +0300, Daniel Brodie wrote:
> 
> Also, changing the visible func will cause it not to segfault (it dosn't
> segfault in my code but somewhere in the C code). But right now I have
> the visible_func written like this:
>     if model.get_value(iter, COLUMN_ISFILE):
>         return False
>     else:
>         return True

I'd speculate the value of iter is not valid.  Don't know why, though.
If you print iter does it tell you you're getting an iter object?

-Toshio

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to