summaryrefslogtreecommitdiff
path: root/gtk2_ardour/automation_gain_line.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2005-11-13 18:13:50 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2005-11-13 18:13:50 +0000
commitab91bcfdace8f4c3e76de3a9ffbfff93102997fb (patch)
tree9e2ffe6593f3917b1b1a30caf1cb5e41c782bfee /gtk2_ardour/automation_gain_line.cc
parent435d1d49642cda521d4934aa1b3ba6433ce8c639 (diff)
time_axis_view now compiles
git-svn-id: svn://localhost/trunk/ardour2@86 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/automation_gain_line.cc')
-rw-r--r--gtk2_ardour/automation_gain_line.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/gtk2_ardour/automation_gain_line.cc b/gtk2_ardour/automation_gain_line.cc
index 0d09e1839d..b07f3c14a1 100644
--- a/gtk2_ardour/automation_gain_line.cc
+++ b/gtk2_ardour/automation_gain_line.cc
@@ -32,10 +32,11 @@
using namespace std;
using namespace ARDOUR;
-AutomationGainLine::AutomationGainLine (string name, Session& s, TimeAxisView& tv, Gnome::Canvas::Item* parent,
+AutomationGainLine::AutomationGainLine (string name, Session& s, TimeAxisView& tv, Gnome::Canvas::Group& parent,
Curve& c,
- gint (*point_callback)(Gnome::Canvas::Item*, GdkEvent*, gpointer),
- gint (*line_callback)(Gnome::Canvas::Item*, GdkEvent*, gpointer))
+ sigc::slot<bool,GdkEvent*,ControlPoint*> point_callback,
+ sigc::slot<bool,GdkEvent*,AutomationLine*> line_callback)
+
: AutomationLine (name, tv, parent, c, point_callback, line_callback),
session (s)
{