diff options
Diffstat (limited to 'gtk2_ardour/region_editor.h')
-rw-r--r-- | gtk2_ardour/region_editor.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/gtk2_ardour/region_editor.h b/gtk2_ardour/region_editor.h index 596bd44140..f66d7f8f81 100644 --- a/gtk2_ardour/region_editor.h +++ b/gtk2_ardour/region_editor.h @@ -20,6 +20,8 @@ #ifndef __gtk_ardour_region_edit_h__ #define __gtk_ardour_region_edit_h__ +#include "ardour/session_handle.h" + #include "ardour_dialog.h" namespace ARDOUR { class Session; } @@ -28,15 +30,12 @@ namespace ARDOUR { class Session; } class RegionEditor : public ArdourDialog { public: - RegionEditor(ARDOUR::Session& s) - : ArdourDialog ("region editor") - , _session(s) - {} + RegionEditor(ARDOUR::Session* s) + : ArdourDialog ("region editor") { + set_session (s); + } virtual ~RegionEditor () {} - - protected: - ARDOUR::Session& _session; }; #endif /* __gtk_ardour_region_edit_h__ */ |