Segfault on Gtk::ListStore::clear ()
- From: Phil Wolff <adiabat centurylink net>
- To: "gtkmm-list gnome org" <gtkmm-list gnome org>
- Subject: Segfault on Gtk::ListStore::clear ()
- Date: Tue, 1 Dec 2020 08:27:12 -0800
Consider this Gtk::ListStore (in a Gtk::ComboBox, if that matters):
Gtk::TreeIter iList = m_refServModel->get_iter( "0" );
while ( iList ) {
std::cout << (*iList)[m_cServings.m_sStdServ] << std::endl;
++iList;
}
m_refServModel->clear ();
The while() loop correctly displays the several items in the list, but
the clear() generates a segfault.
Any insight would be appreciated!
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]