gtkmm: use append() instead of deprecated Gtk::ComboBoxText::append_text()

This commit is contained in:
Mads Kiilerich 2022-01-26 21:11:15 +01:00 committed by Robin Gareus
parent 71ea2cc7b9
commit 09c6e68ae8
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
24 changed files with 96 additions and 96 deletions

View file

@ -202,7 +202,7 @@ PatchChangeDialog::fill_bank_combo ()
for (MIDI::Name::ChannelNameSet::PatchBanks::const_iterator i = cns->patch_banks().begin(); i != cns->patch_banks().end(); ++i) {
string n = (*i)->name ();
boost::replace_all (n, "_", " ");
_bank_combo.append_text (n);
_bank_combo.append (n);
}
}
@ -294,7 +294,7 @@ PatchChangeDialog::fill_patch_combo ()
for (MIDI::Name::PatchNameList::const_iterator j = patches.begin(); j != patches.end(); ++j) {
string n = (*j)->name ();
boost::replace_all (n, "_", " ");
_patch_combo.append_text (n);
_patch_combo.append (n);
}
}