diff options
Diffstat (limited to 'gtk2_ardour/actions.cc')
-rw-r--r-- | gtk2_ardour/actions.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/actions.cc b/gtk2_ardour/actions.cc index 39eb840275..cf01284b10 100644 --- a/gtk2_ardour/actions.cc +++ b/gtk2_ardour/actions.cc @@ -78,7 +78,9 @@ ActionManager::register_action (RefPtr<ActionGroup> group, const char * name, co RefPtr<Action> ActionManager::register_action (RefPtr<ActionGroup> group, const char * name, const char * label, slot<void> sl) { - RefPtr<Action> act = register_action (group, name, label); + RefPtr<Action> act; + + act = Action::create (name, label); group->add (act, sl); return act; |