diff options
author | Carl Hetherington <carl@carlh.net> | 2012-06-06 11:23:45 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-06-06 11:23:45 +0000 |
commit | f6e869d50d63b9ec5e27f9349392d6725832d49a (patch) | |
tree | 4b0a7fcd7d0dd2a97b840e39e966ba9554515093 /gtk2_ardour/panner_ui.cc | |
parent | e5bb4c94edc5e796e021be028a77102f0e1a7b79 (diff) |
Remove some unused code.
git-svn-id: svn://localhost/ardour2/branches/3.0@12574 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/panner_ui.cc')
-rw-r--r-- | gtk2_ardour/panner_ui.cc | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/gtk2_ardour/panner_ui.cc b/gtk2_ardour/panner_ui.cc index 14513ca8ad..239a64ccb7 100644 --- a/gtk2_ardour/panner_ui.cc +++ b/gtk2_ardour/panner_ui.cc @@ -176,13 +176,6 @@ PannerUI::build_astyle_menu () pan_astyle_menu->items().push_back (MenuElem (_("Abs"))); } -boost::shared_ptr<PBD::Controllable> -PannerUI::get_controllable() -{ - assert (!pan_bars.empty()); - return pan_bars[0]->get_controllable(); -} - void PannerUI::on_size_allocate (Allocation& a) { @@ -197,10 +190,6 @@ PannerUI::set_width (Width w) PannerUI::~PannerUI () { - for (vector<MonoPanner*>::iterator i = pan_bars.begin(); i != pan_bars.end(); ++i) { - delete (*i); - } - delete twod_panner; delete big_window; delete pan_menu; @@ -422,11 +411,7 @@ PannerUI::effective_pan_display () _stereo_panner->queue_draw (); } else if (twod_panner) { twod_panner->queue_draw (); - } else { - for (vector<MonoPanner*>::iterator i = pan_bars.begin(); i != pan_bars.end(); ++i) { - (*i)->queue_draw (); - } - } + } } void |