summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorJohn Emmas <johne53@tiscali.co.uk>2015-03-09 18:29:26 +0000
committerJohn Emmas <johne53@tiscali.co.uk>2015-03-09 18:32:55 +0000
commit523f703b3bf0b05500ef8fc39b4d2aa33a3726c3 (patch)
tree66e6ff868197f2b8b4ee74cc4ea4b7c5207e8738 /gtk2_ardour
parente525b169f2879456e8f4c507633180ce63b26e28 (diff)
Move 'poor_mans_glob()' into libpbd
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/option_editor.cc7
-rw-r--r--gtk2_ardour/session_dialog.cc7
-rw-r--r--gtk2_ardour/startup.cc7
3 files changed, 0 insertions, 21 deletions
diff --git a/gtk2_ardour/option_editor.cc b/gtk2_ardour/option_editor.cc
index a7fb86deda..d49f8a3be0 100644
--- a/gtk2_ardour/option_editor.cc
+++ b/gtk2_ardour/option_editor.cc
@@ -41,13 +41,6 @@ using namespace Gtk;
using namespace Gtkmm2ext;
using namespace ARDOUR;
-static string poor_mans_glob (string path)
-{
- string copy = path;
- replace_all (copy, "~", Glib::get_home_dir());
- return copy;
-}
-
void
OptionEditorComponent::add_widget_to_page (OptionEditorPage* p, Gtk::Widget* w)
{
diff --git a/gtk2_ardour/session_dialog.cc b/gtk2_ardour/session_dialog.cc
index 27c5d0e4a0..ed369d346e 100644
--- a/gtk2_ardour/session_dialog.cc
+++ b/gtk2_ardour/session_dialog.cc
@@ -57,13 +57,6 @@ using namespace PBD;
using namespace ARDOUR;
using namespace ARDOUR_UI_UTILS;
-static string poor_mans_glob (string path)
-{
- string copy = path;
- replace_all (copy, "~", Glib::get_home_dir());
- return copy;
-}
-
SessionDialog::SessionDialog (bool require_new, const std::string& session_name, const std::string& session_path, const std::string& template_name, bool cancel_not_quit)
: ArdourDialog (_("Session Setup"), true, true)
, new_only (require_new)
diff --git a/gtk2_ardour/startup.cc b/gtk2_ardour/startup.cc
index 4e073bf2f1..54d988ec03 100644
--- a/gtk2_ardour/startup.cc
+++ b/gtk2_ardour/startup.cc
@@ -60,13 +60,6 @@ using namespace ARDOUR_UI_UTILS;
ArdourStartup* ArdourStartup::the_startup = 0;
-static string poor_mans_glob (string path)
-{
- string copy = path;
- replace_all (copy, "~", Glib::get_home_dir());
- return copy;
-}
-
ArdourStartup::ArdourStartup ()
: _response (RESPONSE_OK)
, config_modified (false)