Hi

I found a solution. Instead of calling Gtk::TreeStore::clear() method I
wrote something like this:

Gtk::TreeNodeChildren c = m_ref_store->children();

while (!c.empty())
{
    Gtk::TreeStore::iterator iter = c.begin();

    m_ref_store->erase(iter);
}

It works for me, I don't get "Segmentation fault" message, but I still
wonder why Gtk::TreeStore::clear() method doesn't work.
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to