Merge branch 'master' into cairocanvas
[ardour.git] / gtk2_ardour / automation_region_view.h
index b17e1601f23a988e07708cc25715bed8b7bf6bf2..571a80709a3149d246bb339d6697191fa5c95832 100644 (file)
@@ -1,6 +1,6 @@
 /*
     Copyright (C) 2007 Paul Davis
-    Author: Dave Robillard
+    Author: David Robillard
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -26,7 +26,6 @@
 #include "automation_time_axis.h"
 #include "automation_line.h"
 #include "enums.h"
-#include "canvas.h"
 
 namespace ARDOUR {
        class AutomationList;
@@ -43,10 +42,10 @@ 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() {}
+       ~AutomationRegionView();
 
        void init (Gdk::Color const & basic_color, bool wfd);