Explicitly destroy static Glib::RefPtr<>
s on exit (fixes #3636)
This commit is contained in:
@@ -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());
|
||||
|
Reference in New Issue
Block a user