Use FOUNDCFG* instead of setting the configuration by hand
[ardour.git] / gtk2_ardour / editor_locations.cc
index bbaf0daf7521de7741cff4f95dd8c395c0b1be1c..0c0066c3a537545d44e54009cce6b6923d5a2f8f 100644 (file)
@@ -20,7 +20,7 @@
 #include "editor_locations.h"
 #include "location_ui.h"
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 using namespace ARDOUR;
 using namespace Gtk;
@@ -28,7 +28,7 @@ using namespace Gtk;
 EditorLocations::EditorLocations (Editor* e)
        : EditorComponent (e)
 {
-       _locations = new LocationUI;
+       _locations = new LocationUI ();
        _scroller.set_policy (Gtk::POLICY_AUTOMATIC, Gtk::POLICY_NEVER);
        _scroller.add (*_locations);
 }