Explicitly destroy static Glib::RefPtr<>s on exit (fixes #3636)

This commit is contained in:
Flössie
2019-03-09 12:06:54 +01:00
parent 2d0b376ae9
commit 51f06dfa6d
7 changed files with 54 additions and 1 deletions

View File

@@ -262,10 +262,17 @@ void ClutComboBox::setBatchMode(bool yes)
}
void ClutComboBox::cleanup()
{
cm.reset();
cm2.reset();
}
void ClutComboBox::updateUnchangedEntry()
{
auto c = m_model()->children();
if (batchMode) {
if (c.empty() || c[c.size()-1][m_columns().clutFilename] != "NULL") {
Gtk::TreeModel::Row row = *(m_model()->append());