summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_mixer.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-06-04 00:05:33 +0000
committerDavid Robillard <d@drobilla.net>2007-06-04 00:05:33 +0000
commit70fd14afe809c7ac7d3b5b382c77580d7b8f6085 (patch)
treeb996da4ea8757e58bbef4db13ca70f508a7464c2 /gtk2_ardour/editor_mixer.cc
parent5ee467790081b90b929bbeafda6b6d1f593929b5 (diff)
Show selected MIDI track in editor mixer.
Minor code cleanups. git-svn-id: svn://localhost/ardour2/trunk@1949 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_mixer.cc')
-rw-r--r--gtk2_ardour/editor_mixer.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/editor_mixer.cc b/gtk2_ardour/editor_mixer.cc
index 5804381102..9bb481966e 100644
--- a/gtk2_ardour/editor_mixer.cc
+++ b/gtk2_ardour/editor_mixer.cc
@@ -133,10 +133,10 @@ Editor::show_editor_mixer (bool yn)
void
Editor::set_selected_mixer_strip (TimeAxisView& view)
{
- AudioTimeAxisView* at;
+ RouteTimeAxisView* rt;
bool show = false;
- if (!session || (at = dynamic_cast<AudioTimeAxisView*>(&view)) == 0) {
+ if (!session || (rt = dynamic_cast<RouteTimeAxisView*>(&view)) == 0) {
return;
}
@@ -144,7 +144,7 @@ Editor::set_selected_mixer_strip (TimeAxisView& view)
/* might be nothing to do */
- if (current_mixer_strip->route() == at->route()) {
+ if (current_mixer_strip->route() == rt->route()) {
return;
}
@@ -157,7 +157,7 @@ Editor::set_selected_mixer_strip (TimeAxisView& view)
current_mixer_strip = new MixerStrip (*ARDOUR_UI::instance()->the_mixer(),
*session,
- at->route());
+ rt->route());
current_mixer_strip->GoingAway.connect (mem_fun(*this, &Editor::cms_deleted));
if (show) {