RE: [gtkmm] TreeView Model, SEGV on append



BINGO!  That was it.  Just a case of the wrong case and a bad operator. 
Geez.

   Thanks Murray!


>> 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
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>




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