diff options
author | Robin Gareus <robin@gareus.org> | 2016-12-20 00:00:14 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-12-20 00:20:00 +0100 |
commit | 58124e7544a3e65139f9c44f5fe5d650da7df631 (patch) | |
tree | 39f934def0ca45d62025f271548672c02396bbd1 /gtk2_ardour/ardour_ui.h | |
parent | 0a167f5c99d60ea64f2680a40dbd9ed744e05a69 (diff) |
Don't dynamically allocate ShuttleCtrl
With manage() both the button and shuttle were free'ed when the table
was destroyed.
Diffstat (limited to 'gtk2_ardour/ardour_ui.h')
-rw-r--r-- | gtk2_ardour/ardour_ui.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/ardour_ui.h b/gtk2_ardour/ardour_ui.h index 3ebd3d5899..de658ff477 100644 --- a/gtk2_ardour/ardour_ui.h +++ b/gtk2_ardour/ardour_ui.h @@ -76,6 +76,7 @@ #include "ardour_window.h" #include "editing.h" #include "enums.h" +#include "shuttle_control.h" #include "visibility_group.h" #include "window_manager.h" @@ -126,7 +127,6 @@ class PublicEditor; class SaveAsDialog; class SessionDialog; class SessionOptionEditorWindow; -class ShuttleControl; class Splash; class MiniTimeline; class Meterbridge; @@ -528,7 +528,7 @@ private: void toggle_time_master (); void toggle_video_sync (); - ShuttleControl* shuttle_box; + ShuttleControl shuttle_box; ArdourButton auto_return_button; ArdourButton follow_edits_button; |