RE: [gtkmm] TreeView Model, SEGV on append
- From: Murray Cumming Comneon com
- To: erik_ohrnberger dme net, gtkmm-list gnome org
- Subject: RE: [gtkmm] TreeView Model, SEGV on append
- Date: Wed, 12 Nov 2003 21:00:14 +0100
> From: gtkmm-list-admin gnome org
> Does the void Gtk::ListStore::clear() also invalidate the
> model assignment? (as in a previous ListStore::create call?)
>
> It just struck me.
I suspect that you are calling RefPtr::clear() instead of
ListStore::Clear(). Use "->" instead of ".".
RefPtr::clear() has been removed in glibmm 2.4 in order to avoid this common
mistake.
Murray Cumming
www.murrayc.com
murrayc usa net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]