Use non-deprecated Gtk::ComboBoxText API in gtkmm2ext
This commit is contained in:
parent
9a56cbc905
commit
12ab4b9816
|
@ -50,7 +50,7 @@ PathsDialog::PathsDialog (Gtk::Window& parent, std::string title, std::string cu
|
|||
|
||||
std::vector <std::string> a = PBD::parse_path(current_paths);
|
||||
for(vector<std::string>::const_iterator i = a.begin(); i != a.end(); ++i) {
|
||||
paths_list_view.append_text(*i);
|
||||
paths_list_view.append(*i);
|
||||
}
|
||||
|
||||
paths_list_view.get_selection()->signal_changed().connect (mem_fun (*this, &PathsDialog::selection_changed));
|
||||
|
@ -127,7 +127,7 @@ PathsDialog::add_path() {
|
|||
}
|
||||
}
|
||||
if (!dup) {
|
||||
paths_list_view.prepend_text(dir);
|
||||
paths_list_view.prepend(dir);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -159,6 +159,6 @@ PathsDialog::set_default() {
|
|||
paths_list_view.clear_items();
|
||||
std::vector <std::string> a = PBD::parse_path(_default_paths);
|
||||
for(vector<std::string>::const_iterator i = a.begin(); i != a.end(); ++i) {
|
||||
paths_list_view.append_text(*i);
|
||||
paths_list_view.append(*i);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -436,7 +436,7 @@ Gtkmm2ext::set_popdown_strings (Gtk::ComboBoxText& cr, const vector<string>& str
|
|||
cr.clear ();
|
||||
|
||||
for (i = strings.begin(); i != strings.end(); ++i) {
|
||||
cr.append_text (*i);
|
||||
cr.append (*i);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user