diff options
author | Robin Gareus <robin@gareus.org> | 2019-10-24 19:43:46 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-10-24 19:59:22 +0200 |
commit | 3f2f5172915973a98b550c70cabbe979553664b2 (patch) | |
tree | 7713bf254c2128d586eee0f41f7374fb1cd46a70 /gtk2_ardour/patch_change_widget.h | |
parent | 7664f8fd29793be09899cd1c94695a2a3880215f (diff) |
Rough-in gtk-pianokeyboard C -> C++
Diffstat (limited to 'gtk2_ardour/patch_change_widget.h')
-rw-r--r-- | gtk2_ardour/patch_change_widget.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gtk2_ardour/patch_change_widget.h b/gtk2_ardour/patch_change_widget.h index ae9af56d45..860c02026f 100644 --- a/gtk2_ardour/patch_change_widget.h +++ b/gtk2_ardour/patch_change_widget.h @@ -99,11 +99,9 @@ private: uint8_t _audition_note_num; bool _audition_note_on; - PianoKeyboard* _piano; - Gtk::Widget* _pianomm; + PianoKeyboard _piano; - static void _note_on_event_handler (GtkWidget*, int, int, gpointer); - static void _note_off_event_handler (GtkWidget*, int, gpointer); + void _note_on_event_handler (int, int); void note_on_event_handler (int, bool for_audition); void note_off_event_handler (int); }; |