From 0ea5344be631268d42ea7ff560a2df6ddd1a7bc7 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 8 Oct 2019 21:40:14 -0600 Subject: change SessionDialog::meta_master_bus_profile() to be a static method --- gtk2_ardour/session_dialog.cc | 2 +- gtk2_ardour/session_dialog.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk2_ardour') 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 */ -- cgit v1.2.3