summaryrefslogtreecommitdiff
path: root/gtk2_ardour/streamview.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-07-09 17:58:13 +0000
committerCarl Hetherington <carl@carlh.net>2009-07-09 17:58:13 +0000
commit402cc384ced6cb152c8abe4294009fe0de0a6dea (patch)
treef01db6b412cb8e2d3c69fa123fd615c229ee47d3 /gtk2_ardour/streamview.h
parentcc351b97a986fca48a6b3b631a292bf24efc5e41 (diff)
Back out big shared_ptr change. Moving to a branch. Apologies all.
git-svn-id: svn://localhost/ardour2/branches/3.0@5343 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/streamview.h')
-rw-r--r--gtk2_ardour/streamview.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/gtk2_ardour/streamview.h b/gtk2_ardour/streamview.h
index adf16e1a3e..07285d8a42 100644
--- a/gtk2_ardour/streamview.h
+++ b/gtk2_ardour/streamview.h
@@ -26,7 +26,6 @@
#include "enums.h"
#include "simplerect.h"
#include "canvas.h"
-#include "shared_ptrs.h"
namespace Gdk {
class Color;
@@ -59,8 +58,8 @@ class StreamView : public sigc::trackable
public:
virtual ~StreamView ();
- RouteTimeAxisViewPtr trackview() { return _trackview; }
- const RouteTimeAxisViewPtr trackview() const { return _trackview; }
+ RouteTimeAxisView& trackview() { return _trackview; }
+ const RouteTimeAxisView& trackview() const { return _trackview; }
void attach ();
@@ -113,7 +112,7 @@ public:
sigc::signal<void> HeightChanged;
protected:
- StreamView (RouteTimeAxisViewPtr, ArdourCanvas::Group* group = NULL);
+ StreamView (RouteTimeAxisView&, ArdourCanvas::Group* group = NULL);
void transport_changed();
void transport_looped();
@@ -138,7 +137,7 @@ protected:
virtual void color_handler () = 0;
- RouteTimeAxisViewPtr _trackview;
+ RouteTimeAxisView& _trackview;
bool owns_canvas_group;
ArdourCanvas::Group* _background_group;
ArdourCanvas::Group* canvas_group;