get editor.cc to compile
git-svn-id: svn://localhost/trunk/ardour2@99 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -35,7 +35,7 @@ namespace Gtkmm2ext {
|
||||
gint hpadding,
|
||||
gint vpadding);
|
||||
|
||||
void set_popdown_strings (Gtk::ComboBoxText&, std::vector<std::string>&);
|
||||
void set_popdown_strings (Gtk::ComboBoxText&, const std::vector<std::string>&);
|
||||
|
||||
template<class T> void deferred_delete (void *ptr) {
|
||||
delete static_cast<T *> (ptr);
|
||||
|
||||
@@ -44,11 +44,11 @@ Gtkmm2ext::init ()
|
||||
}
|
||||
|
||||
void
|
||||
Gtkmm2ext::set_popdown_strings (Gtk::ComboBoxText& cr, vector<string>& strings)
|
||||
Gtkmm2ext::set_popdown_strings (Gtk::ComboBoxText& cr, const vector<string>& strings)
|
||||
{
|
||||
cr.clear ();
|
||||
|
||||
for (vector<string>::iterator i = strings.begin(); i != strings.end(); ++i) {
|
||||
for (vector<string>::const_iterator i = strings.begin(); i != strings.end(); ++i) {
|
||||
cr.append_text (*i);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user