RE: [gtkmm] TreeView Model, SEGV on append



> 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]