From f303c9ebb2545e32f6b6ed264e0bc17613591430 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 2 Mar 2014 22:38:29 +0100 Subject: [PATCH] paths-dialog gtkmm-2.20 compatibility --- libs/gtkmm2ext/paths_dialog.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/gtkmm2ext/paths_dialog.cc b/libs/gtkmm2ext/paths_dialog.cc index d4ccd259ad..182b7c34d2 100644 --- a/libs/gtkmm2ext/paths_dialog.cc +++ b/libs/gtkmm2ext/paths_dialog.cc @@ -50,7 +50,7 @@ PathsDialog::PathsDialog (std::string title, std::string current_paths, std::str std::vector a = PBD::parse_path(current_paths); for(vector::const_iterator i = a.begin(); i != a.end(); ++i) { - paths_list_view.append(*i); + paths_list_view.append_text(*i); } paths_list_view.get_selection()->signal_changed().connect (mem_fun (*this, &PathsDialog::selection_changed)); @@ -121,7 +121,7 @@ PathsDialog::add_path() { } } if (!dup) { - paths_list_view.prepend(dir); + paths_list_view.prepend_text(dir); } } }