Re: Segmentation fault after removing all rows from TreeStore



You are probably calling RefPtr::clear() instead of TreeStore::clear().
For instance, you are doing this:
treestore.clear();
instead of this:
treestore->clear();

valgrind would probably have helped you to find this.

Also, you should check RefPtrs (and pointers) for null before
dereferencing them.

-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com



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