diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2019-10-08 21:40:14 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2019-10-10 16:52:00 -0600 |
commit | 0ea5344be631268d42ea7ff560a2df6ddd1a7bc7 (patch) | |
tree | 4b3ef1bce41a78bb74208699ba5a4aa8a04ba408 | |
parent | 1be0c0efe7b2f18ecb3ed78f756d4549dc446248 (diff) |
change SessionDialog::meta_master_bus_profile() to be a static method
-rw-r--r-- | gtk2_ardour/session_dialog.cc | 2 | ||||
-rw-r--r-- | gtk2_ardour/session_dialog.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/session_dialog.cc b/gtk2_ardour/session_dialog.cc index b7f1d23c0f..ef4743a9d5 100644 --- a/gtk2_ardour/session_dialog.cc +++ b/gtk2_ardour/session_dialog.cc @@ -186,7 +186,7 @@ SessionDialog::clear_given () } uint32_t -SessionDialog::meta_master_bus_profile (std::string script_path) const +SessionDialog::meta_master_bus_profile (std::string script_path) { if (!Glib::file_test (script_path, Glib::FILE_TEST_EXISTS | Glib::FILE_TEST_IS_REGULAR)) { return UINT32_MAX; diff --git a/gtk2_ardour/session_dialog.h b/gtk2_ardour/session_dialog.h index 8f5d6b2a7a..5471f7d707 100644 --- a/gtk2_ardour/session_dialog.h +++ b/gtk2_ardour/session_dialog.h @@ -191,7 +191,7 @@ private: void disable_plugins_clicked (); /* meta-template */ - uint32_t meta_master_bus_profile (std::string script) const; + static uint32_t meta_master_bus_profile (std::string script); /* always there */ |