Re: Segmentation fault after removing all rows from TreeStore
- From: Murray Cumming <murrayc murrayc com>
- To: Marcin Dec <resu liamg yppah gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: Segmentation fault after removing all rows from TreeStore
- Date: Fri, 23 Jan 2009 13:24:34 +0100
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]