mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
gtkmm: use remove_all() instead of deprecated Gtk::ComboBoxText::clear_items()
This commit is contained in:
parent
9e34eb21fe
commit
1390743d52
2 changed files with 3 additions and 3 deletions
|
|
@ -469,7 +469,7 @@ ComboStringOption::add_to_page (OptionEditorPage* p)
|
|||
*/
|
||||
void
|
||||
ComboStringOption::set_popdown_strings (const std::vector<std::string>& strings) {
|
||||
_combo->clear_items ();
|
||||
_combo->remove_all ();
|
||||
for (std::vector<std::string>::const_iterator i = strings.begin(); i != strings.end(); ++i) {
|
||||
_combo->append (*i);
|
||||
}
|
||||
|
|
@ -477,7 +477,7 @@ ComboStringOption::set_popdown_strings (const std::vector<std::string>& strings)
|
|||
|
||||
void
|
||||
ComboStringOption::clear () {
|
||||
_combo->clear_items();
|
||||
_combo->remove_all();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
|
|
@ -366,7 +366,7 @@ public:
|
|||
|
||||
void clear ()
|
||||
{
|
||||
_combo->clear_items();
|
||||
_combo->remove_all();
|
||||
_options.clear ();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue