Fix session-open after selecting new, template, then back
[ardour.git] / gtk2_ardour / automation_controller.h
index c2d225b2db96ab971cb1eab79f78cf01ef851339..12b31f6d86a067cafa4b7f937b53189dd3685062 100644 (file)
@@ -29,7 +29,8 @@
 #endif
 
 #include <boost/shared_ptr.hpp>
-#include <gtkmm.h>
+
+#include <gtkmm/alignment.h>
 
 #include "pbd/signals.h"
 #include "evoral/Parameter.hpp"
@@ -41,6 +42,11 @@ namespace ARDOUR {
        class AutomationControl;
 }
 
+namespace Gtk {
+       class Adjustment;
+       class Widget;
+}
+
 class AutomationBarController : public ArdourWidgets::BarController {
 public:
        AutomationBarController(boost::shared_ptr<ARDOUR::AutomationControl> ac,