remove method and inline its contents. Nothing gained by wrapping this up
[ardour.git] / gtk2_ardour / utils.cc
index 28ca7923fbbfd71764a05f65b0b67fcb10644a86..5ddd044b801bdfd0c1a02aae5782030efe48e551 100644 (file)
@@ -104,7 +104,7 @@ ARDOUR_UI_UTILS::just_hide_it (GdkEventAny */*ev*/, Gtk::Window *win)
 static bool
 idle_notify_engine_stopped ()
 {
-       Glib::RefPtr<Action> act = ARDOUR_UI::instance()->find_action ("Window", "toggle-audio-midi-setup");
+       Glib::RefPtr<Action> act = ActionManager::get_action ("Window", "toggle-audio-midi-setup");
        Glib::RefPtr<ToggleAction> tact = Glib::RefPtr<ToggleAction>::cast_dynamic(act);
 
        MessageDialog msg (