slowly fixing up ArdourDialog nonsense
[ardour.git] / gtk2_ardour / automation_gain_line.cc
index 15da1a2a8404efc125cc2a9374b56531fbdb6a5a..d4db4d25d73f5f9b7d9d4b2111b7fbd1363894ed 100644 (file)
 using namespace std;
 using namespace ARDOUR;
 
-AutomationGainLine::AutomationGainLine (string name, Session& s, TimeAxisView& tv, GtkCanvasItem* parent,
-                                       Curve& c, 
-                                       gint (*point_callback)(GtkCanvasItem*, GdkEvent*, gpointer),
-                                       gint (*line_callback)(GtkCanvasItem*, GdkEvent*, gpointer))
-       : AutomationLine (name, tv, parent, c, point_callback, line_callback),
+AutomationGainLine::AutomationGainLine (string name, Session& s, TimeAxisView& tv, ArdourCanvas::Group& parent, Curve& c)
+
+       : AutomationLine (name, tv, parent, c),
          session (s)
 {
        set_verbose_cursor_uses_gain_mapping (true);