--- a/flush/src/open_torrent_dialog.cpp +++ b/flush/src/open_torrent_dialog.cpp @@ -65,7 +65,7 @@ class Open_torrent_dialog::Private Open_torrent_dialog::Private::Private(void) : encoding_model( Gtk::ListStore::create(this->encoding_columns) ), - encoding_combo(encoding_model) + encoding_combo( Glib::RefPtr(encoding_model) ) { const m::Charset* charset = m::AVAILABLE_CHARSETS;