Fixed some valgrind errors from using uninitialized variables in
[ardour.git] / gtk2_ardour / pan_automation_time_axis.h
index 16b0808148ef1ea7252f9f8e09b5540eb2a64527..b35ee67735bc4a29065341701fb8568385d6ad56 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef __ardour_gtk_pan_automation_time_axis_h__
 #define __ardour_gtk_pan_automation_time_axis_h__
 
+#include "canvas.h"
 #include "automation_time_axis.h"
 
 namespace ARDOUR {
@@ -14,12 +15,12 @@ class PanAutomationTimeAxisView : public AutomationTimeAxisView
                                   ARDOUR::Route&,
                                   PublicEditor&,
                                   TimeAxisView& parent_axis,
-                                  Gtk::Widget* parent,
+                                  ArdourCanvas::Canvas& canvas,
                                   std::string name);
 
        ~PanAutomationTimeAxisView();
 
-       void add_automation_event (GtkCanvasItem *item, GdkEvent *event, jack_nframes_t, double);
+       void add_automation_event (ArdourCanvas::Item *item, GdkEvent *event, jack_nframes_t, double);
        
    private:
         void automation_changed ();