diff options
author | Carl Hetherington <carl@carlh.net> | 2010-05-25 14:50:45 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-05-25 14:50:45 +0000 |
commit | ef94fbf11ca36fc088e58cfa5691cbca7c7a3390 (patch) | |
tree | 3937a4fae192b1405a8e5d4ac4ca252808739b68 /gtk2_ardour/audio_time_axis.cc | |
parent | d95d6ca7194d337f75e5497b3fb5523607fabdbc (diff) |
Remove some dead code. Clean up storage of automation axis menu
items. Fixes #3174.
git-svn-id: svn://localhost/ardour2/branches/3.0@7157 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/audio_time_axis.cc')
-rw-r--r-- | gtk2_ardour/audio_time_axis.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/audio_time_axis.cc b/gtk2_ardour/audio_time_axis.cc index 4a53b6fabd..57119002f5 100644 --- a/gtk2_ardour/audio_time_axis.cc +++ b/gtk2_ardour/audio_time_axis.cc @@ -103,7 +103,7 @@ AudioTimeAxisView::AudioTimeAxisView (PublicEditor& ed, Session* sess, boost::sh set_state (*xml_node, Stateful::loading_state_version); /* if set_state above didn't create a gain automation child, we need to make one */ - if (automation_track (GainAutomation) == 0) { + if (automation_child (GainAutomation) == 0) { create_automation_child (GainAutomation, false); } |