Remove unused constructor.
authorCarl Hetherington <carl@carlh.net>
Mon, 16 May 2011 23:10:45 +0000 (23:10 +0000)
committerCarl Hetherington <carl@carlh.net>
Mon, 16 May 2011 23:10:45 +0000 (23:10 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@9532 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/audio_region_view.cc
gtk2_ardour/audio_region_view.h

index 75924c4714a8d675ddf6441572186901861e753f..804155fae28b8af8cd91c1e63797e398b9f62871 100644 (file)
@@ -97,29 +97,6 @@ AudioRegionView::AudioRegionView (ArdourCanvas::Group *parent, RouteTimeAxisView
 {
 }
 
-
-AudioRegionView::AudioRegionView (const AudioRegionView& other)
-       : sigc::trackable(other)
-       , RegionView (other)
-       , fade_in_shape(0)
-       , fade_out_shape(0)
-       , fade_in_handle(0)
-       , fade_out_handle(0)
-       , fade_position_line(0)
-       , gain_line(0)
-       , _amplitude_above_axis(1.0)
-       , _flags(0)
-       , fade_color(0)
-{
-       Gdk::Color c;
-       int r,g,b,a;
-
-       UINT_TO_RGBA (other.fill_color, &r, &g, &b, &a);
-       c.set_rgb_p (r/255.0, g/255.0, b/255.0);
-
-       init (c, false);
-}
-
 AudioRegionView::AudioRegionView (const AudioRegionView& other, boost::shared_ptr<AudioRegion> other_region)
        : RegionView (other, boost::shared_ptr<Region> (other_region))
        , fade_in_shape(0)
index 21ad595a25cb28afebfa75ccc2a845a2de0262ba..ec1986ca65ec1aace3523004603d76207449e6ea 100644 (file)
@@ -61,7 +61,6 @@ class AudioRegionView : public RegionView
                         bool recording,
                         TimeAxisViewItem::Visibility);
 
-       AudioRegionView (const AudioRegionView& other);
        AudioRegionView (const AudioRegionView& other, boost::shared_ptr<ARDOUR::AudioRegion>);
 
        ~AudioRegionView ();