summaryrefslogtreecommitdiff
path: root/gtk2_ardour/step_entry.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-10-25 18:01:08 +0200
committerRobin Gareus <robin@gareus.org>2019-10-25 21:24:25 +0200
commitc0c1fd8b604d396cd6c1cd1a709597607e2625ce (patch)
tree8df14f6bbe2104503c1bdd177bfa1869a91aac8c /gtk2_ardour/step_entry.h
parent61f32339ef00f59befa864b9a0dd58c9a9fd54b2 (diff)
Rename PianoKeyboard class, avoid ambiguities
A C++ class "PianoKeyboard" in the global namespace may cause issues with some plugins that export and use an identically named symbol.
Diffstat (limited to 'gtk2_ardour/step_entry.h')
-rw-r--r--gtk2_ardour/step_entry.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/step_entry.h b/gtk2_ardour/step_entry.h
index 36e1884652..b806e684ef 100644
--- a/gtk2_ardour/step_entry.h
+++ b/gtk2_ardour/step_entry.h
@@ -28,7 +28,7 @@
#include <gtkmm2ext/bindings.h>
#include "ardour_window.h"
-#include "gtk_pianokeyboard.h"
+#include "pianokeyboard.h"
class StepEditor;
@@ -140,7 +140,7 @@ class StepEntry : public ArdourWindow
void velocity_value_change ();
void length_value_change ();
- PianoKeyboard _piano;
+ APianoKeyboard _piano;
StepEditor* se;