mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
couple of fixes to enable building, and building with gtkmm 2.2(<4)
git-svn-id: svn://localhost/ardour2/branches/3.0@12540 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
2010c0489f
commit
1cb5aed0ce
2 changed files with 3 additions and 4 deletions
|
|
@ -151,7 +151,7 @@ PatchChangeDialog::fill_bank_combo ()
|
|||
for (MIDI::Name::ChannelNameSet::PatchBanks::const_iterator i = banks->begin(); i != banks->end(); ++i) {
|
||||
string n = (*i)->name ();
|
||||
boost::replace_all (n, "_", " ");
|
||||
_bank_combo.append (n);
|
||||
_bank_combo.append_text (n);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -235,7 +235,7 @@ PatchChangeDialog::fill_patch_combo ()
|
|||
for (MIDI::Name::PatchBank::PatchNameList::const_iterator j = patches.begin(); j != patches.end(); ++j) {
|
||||
string n = (*j)->name ();
|
||||
boost::replace_all (n, "_", " ");
|
||||
_patch_combo.append (n);
|
||||
_patch_combo.append_text (n);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue