Patch from jdavisp3 to fix bug #1841.
[ardour.git] / gtk2_ardour / crossfade_edit.cc
index 45be72abed52a1724d7b3ae511a70ec429d8a4cf..8e9c4f07dd15b9b362dce7539922e1e5e85f704d 100644 (file)
@@ -48,7 +48,6 @@
 #include "canvas_impl.h"
 #include "simplerect.h"
 #include "waveview.h"
-#include "color.h"
 
 using namespace std;
 using namespace ARDOUR;
@@ -66,8 +65,8 @@ CrossfadeEditor::Presets* CrossfadeEditor::fade_out_presets = 0;
 
 CrossfadeEditor::Half::Half ()
        : line (0), 
-         normative_curve (ParamID(GainAutomation), 0.0, 1.0, 1.0), // FIXME: GainAutomation?
-         gain_curve (ParamID(GainAutomation), 0.0, 2.0, 1.0)
+         normative_curve (Parameter(GainAutomation), 0.0, 1.0, 1.0), // FIXME: GainAutomation?
+         gain_curve (Parameter(GainAutomation), 0.0, 2.0, 1.0)
 {
 }