make all of dialog visible for add_route_dialog
[ardour.git] / gtk2_ardour / gain_automation_time_axis.h
index b261e34d308af20490d197171c0df3f7ccb55ed0..0cc211ee1b0ed7a30290ccd7759b1d4a6450e10d 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef __ardour_gtk_gain_automation_time_axis_h__
 #define __ardour_gtk_gain_automation_time_axis_h__
 
+#include "canvas.h"
 #include "automation_time_axis.h"
 
 namespace ARDOUR {
@@ -15,13 +16,13 @@ class GainAutomationTimeAxisView : public AutomationTimeAxisView
                                    ARDOUR::Route&,
                                    PublicEditor&,
                                    TimeAxisView& parent_axis,
-                                   Gtk::Widget* parent,
+                                   ArdourCanvas::Canvas& canvas,
                                    std::string name,
                                    ARDOUR::Curve&);
        
        ~GainAutomationTimeAxisView();
 
-       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:
        ARDOUR::Curve& curve;