13
0

add braces and move a destructor into its .cc file

git-svn-id: svn://localhost/ardour2/branches/3.0@9830 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-07-10 15:28:36 +00:00
parent 574333fef3
commit 549de1f298
3 changed files with 7 additions and 2 deletions

View File

@ -54,6 +54,10 @@ AutomationRegionView::AutomationRegionView (ArdourCanvas::Group*
group->raise_to_top();
}
AutomationRegionView::~AutomationRegionView ()
{
}
void
AutomationRegionView::init (Gdk::Color const & basic_color, bool /*wfd*/)
{

View File

@ -46,7 +46,7 @@ public:
double initial_samples_per_unit,
Gdk::Color const & basic_color);
~AutomationRegionView() {}
~AutomationRegionView();
void init (Gdk::Color const & basic_color, bool wfd);

View File

@ -95,8 +95,9 @@ AutomationStreamView::add_region_view_internal (boost::shared_ptr<Region> region
/* great. we already have an AutomationRegionView for this Region. use it again. */
AutomationRegionView* arv = dynamic_cast<AutomationRegionView*>(*i);;
if (arv->line())
if (arv->line()) {
arv->line()->set_list (list);
}
(*i)->set_valid (true);
(*i)->enable_display(wfd);
display_region(arv);