diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-08-08 08:36:29 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-02-22 15:31:24 -0500 |
commit | 67e19c177f473807cd6510751bcf4a48574e6088 (patch) | |
tree | f44cf815264162afd9d0d4f06c938c4be6cfb06a /gtk2_ardour/step_entry.h | |
parent | 29b69b0ab4e92b49e171bfeb68af58da43ae766b (diff) |
radically change Keyboard/Binding API design to disconnect Gtk::Action lookup from binding definition
We need this because we need binding information/objects before all
Actions have been defined.
Diffstat (limited to 'gtk2_ardour/step_entry.h')
-rw-r--r-- | gtk2_ardour/step_entry.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/step_entry.h b/gtk2_ardour/step_entry.h index bd354f3f66..26c46d5c51 100644 --- a/gtk2_ardour/step_entry.h +++ b/gtk2_ardour/step_entry.h @@ -140,7 +140,6 @@ class StepEntry : public ArdourWindow /* actions */ void register_actions (); - Gtkmm2ext::ActionMap myactions; void insert_note (uint8_t); void insert_rest (); @@ -166,7 +165,8 @@ class StepEntry : public ArdourWindow bool radio_button_release (GdkEventButton*, Gtk::RadioButton*, int); void load_bindings (); - Gtkmm2ext::Bindings bindings; + Gtkmm2ext::ActionMap myactions; + Gtkmm2ext::Bindings* bindings; void inc_note_velocity (); void dec_note_velocity (); |