cast_dynamic<> => get_toggle_action()
This commit is contained in:
parent
55bc0eec91
commit
3a215271b5
|
@ -104,8 +104,7 @@ ARDOUR_UI_UTILS::just_hide_it (GdkEventAny */*ev*/, Gtk::Window *win)
|
||||||
static bool
|
static bool
|
||||||
idle_notify_engine_stopped ()
|
idle_notify_engine_stopped ()
|
||||||
{
|
{
|
||||||
Glib::RefPtr<Action> act = ActionManager::get_action ("Window", "toggle-audio-midi-setup");
|
Glib::RefPtr<ToggleAction> tact = ActionManager::get_toggle_action ("Window", "toggle-audio-midi-setup");
|
||||||
Glib::RefPtr<ToggleAction> tact = Glib::RefPtr<ToggleAction>::cast_dynamic(act);
|
|
||||||
|
|
||||||
MessageDialog msg (
|
MessageDialog msg (
|
||||||
_("The current operation is not possible because of an error communicating with the audio hardware."),
|
_("The current operation is not possible because of an error communicating with the audio hardware."),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user