pay some attention to the special guest of the night: KDE window stacking
[ardour.git] / gtk2_ardour / audio_time_axis.cc
index 40c35d7cba0cfef3d83432024da73eb18d4890ba..4459afa799a2aefc35cd0134228032cd2a2c0c93 100644 (file)
@@ -42,7 +42,6 @@
 #include "ardour/panner_shell.h"
 
 #include "ardour_button.h"
-#include "ardour_ui.h"
 #include "audio_time_axis.h"
 #include "automation_line.h"
 #include "enums.h"
@@ -56,7 +55,7 @@
 #include "audio_streamview.h"
 #include "utils.h"
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 using namespace std;
 using namespace ARDOUR;
@@ -66,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)
 {
 }
@@ -184,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 ();
                }
@@ -220,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;
@@ -308,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 {