French translation update
[ardour.git] / gtk2_ardour / audio_time_axis.cc
index 6110673985fd60c642d9ceb849ac593e8cac5bd6..4459afa799a2aefc35cd0134228032cd2a2c0c93 100644 (file)
@@ -55,7 +55,7 @@
 #include "audio_streamview.h"
 #include "utils.h"
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 using namespace std;
 using namespace ARDOUR;
@@ -65,7 +65,7 @@ using namespace Gtk;
 using namespace Editing;
 
 AudioTimeAxisView::AudioTimeAxisView (PublicEditor& ed, Session* sess, ArdourCanvas::Canvas& canvas)
-       : AxisView(sess)
+       : SessionHandlePtr (sess)
        , RouteTimeAxisView(ed, sess, canvas)
 {
 }
@@ -183,14 +183,14 @@ AudioTimeAxisView::create_automation_child (const Evoral::Parameter& param, bool
        AutomationTracks::iterator existing = _automation_tracks.find (param);
 
        if (existing != _automation_tracks.end()) {
-               
+
                /* automation track created because we had existing data for
                 * the processor, but visibility may need to be controlled
                 * since it will have been set visible by default.
                 */
 
                existing->second->set_marked_for_display (show);
-               
+
                if (!no_redraw) {
                        request_redraw ();
                }
@@ -219,7 +219,7 @@ AudioTimeAxisView::create_automation_child (const Evoral::Parameter& param, bool
        } else if (param.type() == MuteAutomation) {
 
                create_mute_automation_child (param, show);
-               
+
 
        } else {
                error << "AudioTimeAxisView: unknown automation child " << EventTypeMap::instance().to_symbol(param) << endmsg;
@@ -307,7 +307,7 @@ AudioTimeAxisView::update_control_names ()
                }
        }
 
-       if (get_selected()) {
+       if (selected()) {
                controls_ebox.set_name (controls_base_selected_name);
                time_axis_frame.set_name (controls_base_selected_name);
        } else {