mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
gtkmm: use append() instead of deprecated Gtk::ComboBoxText::append_text()
This commit is contained in:
parent
71ea2cc7b9
commit
09c6e68ae8
24 changed files with 96 additions and 96 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue