slowly fixing up ArdourDialog nonsense
[ardour.git] / gtk2_ardour / automation_gain_line.cc
index 0d09e1839dfef30f29b4291e57d1ed7b64a061f0..d4db4d25d73f5f9b7d9d4b2111b7fbd1363894ed 100644 (file)
 using namespace std;
 using namespace ARDOUR;
 
-AutomationGainLine::AutomationGainLine (string name, Session& s, TimeAxisView& tv, Gnome::Canvas::Item* parent,
-                                       Curve& c, 
-                                       gint (*point_callback)(Gnome::Canvas::Item*, GdkEvent*, gpointer),
-                                       gint (*line_callback)(Gnome::Canvas::Item*, 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);