From a68766ec53ce8d617e37a4d6142959a9b9fa0226 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 7 Dec 2018 16:07:13 -0500 Subject: [PATCH] use new action map API instead of ActionManager::get_action --- gtk2_ardour/utils.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/utils.cc b/gtk2_ardour/utils.cc index 5ddd044b80..28ca7923fb 100644 --- a/gtk2_ardour/utils.cc +++ b/gtk2_ardour/utils.cc @@ -104,7 +104,7 @@ ARDOUR_UI_UTILS::just_hide_it (GdkEventAny */*ev*/, Gtk::Window *win) static bool idle_notify_engine_stopped () { - Glib::RefPtr act = ActionManager::get_action ("Window", "toggle-audio-midi-setup"); + Glib::RefPtr act = ARDOUR_UI::instance()->find_action ("Window", "toggle-audio-midi-setup"); Glib::RefPtr tact = Glib::RefPtr::cast_dynamic(act); MessageDialog msg ( -- 2.30.2