diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2018-12-10 18:44:05 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2018-12-10 18:44:05 -0500 |
commit | 5981b7f1b8bc85444d66ab0ffac2dee412dd21ea (patch) | |
tree | 4c22e8cc5b871c7338eb7ba35bdd39612c5631ee /gtk2_ardour/processor_box.cc | |
parent | 605b7783ee34cbce671525523e7022105dd8259b (diff) |
add nominal owners for all action groups
Note: this is not yet correct. The owner (pointer) values passed in are not yet usable
Diffstat (limited to 'gtk2_ardour/processor_box.cc')
-rw-r--r-- | gtk2_ardour/processor_box.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk2_ardour/processor_box.cc b/gtk2_ardour/processor_box.cc index 890ed33eec..4edadb4bdc 100644 --- a/gtk2_ardour/processor_box.cc +++ b/gtk2_ardour/processor_box.cc @@ -3761,7 +3761,11 @@ ProcessorBox::get_generic_editor_window (boost::shared_ptr<Processor> processor) void ProcessorBox::register_actions () { - processor_box_actions = ActionManager::create_action_group (X_("ProcessorMenu")); + /* We need to use a static object as the owner, since these actions + need to be considered ownable by all ProcessorBox objects + */ + + processor_box_actions = ActionManager::create_action_group (bindings, X_("ProcessorMenu")); Glib::RefPtr<Action> act; |