summaryrefslogtreecommitdiff
path: root/gtk2_ardour/automation_region_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/automation_region_view.h')
-rw-r--r--gtk2_ardour/automation_region_view.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk2_ardour/automation_region_view.h b/gtk2_ardour/automation_region_view.h
index 8933b30b19..726ce85d31 100644
--- a/gtk2_ardour/automation_region_view.h
+++ b/gtk2_ardour/automation_region_view.h
@@ -26,7 +26,6 @@
#include "automation_time_axis.h"
#include "automation_line.h"
#include "enums.h"
-#include "canvas.h"
namespace ARDOUR {
class AutomationList;
@@ -43,7 +42,7 @@ public:
boost::shared_ptr<ARDOUR::Region>,
const Evoral::Parameter& parameter,
boost::shared_ptr<ARDOUR::AutomationList>,
- double initial_samples_per_unit,
+ double initial_samples_per_pixel,
Gdk::Color const & basic_color);
~AutomationRegionView();
@@ -56,7 +55,7 @@ public:
boost::shared_ptr<AutomationLine> line() { return _line; }
// We are a ghost. Meta ghosts? Crazy talk.
- virtual GhostRegion* add_ghost(TimeAxisView&) { return NULL; }
+ virtual GhostRegion* add_ghost(TimeAxisView&) { return 0; }
void set_height (double);
void reset_width_dependent_items(double pixel_width);