diff options
author | Nick Mainsbridge <beatroute@iprimus.com.au> | 2009-06-02 17:45:18 +0000 |
---|---|---|
committer | Nick Mainsbridge <beatroute@iprimus.com.au> | 2009-06-02 17:45:18 +0000 |
commit | 2641231cb2125a0188264e833c6e6e77202910a9 (patch) | |
tree | b29c2b2a8fe70da2637aa3efd92bf7c87df34cb0 /gtk2_ardour/region_view.cc | |
parent | beef5e20ce6402e55c974d6126db8db6c7a13d7c (diff) |
Fix memory leak in name text pixbuf generation, move RegionView::_height to TimeAxisViewItem, clean up name_highlight vs name_text code (removes assumpton that one implied the other), fix mouse offset when track resizing past the smallest size, reinstate zooming to 1 frame per pixel.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5117 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/region_view.cc')
-rw-r--r-- | gtk2_ardour/region_view.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gtk2_ardour/region_view.cc b/gtk2_ardour/region_view.cc index 2bbfa4b5f5..47d0c38ef9 100644 --- a/gtk2_ardour/region_view.cc +++ b/gtk2_ardour/region_view.cc @@ -75,7 +75,6 @@ RegionView::RegionView (ArdourCanvas::Group* parent, , current_visible_sync_position(0.0) , valid(false) , _pixel_width(1.0) - , _height(1.0) , in_destructor(false) , wait_for_data(false) { @@ -90,7 +89,6 @@ RegionView::RegionView (const RegionView& other) current_visible_sync_position = other.current_visible_sync_position; valid = false; _pixel_width = other._pixel_width; - _height = other._height; } RegionView::RegionView (const RegionView& other, boost::shared_ptr<Region> other_region) @@ -106,7 +104,6 @@ RegionView::RegionView (const RegionView& other, boost::shared_ptr<Region> other current_visible_sync_position = other.current_visible_sync_position; valid = false; _pixel_width = other._pixel_width; - _height = other._height; } RegionView::RegionView (ArdourCanvas::Group* parent, @@ -124,7 +121,6 @@ RegionView::RegionView (ArdourCanvas::Group* parent, , current_visible_sync_position(0.0) , valid(false) , _pixel_width(1.0) - , _height(1.0) , in_destructor(false) , wait_for_data(false) { @@ -136,7 +132,6 @@ RegionView::init (Gdk::Color& basic_color, bool wfd) editor = 0; valid = true; in_destructor = false; - _height = 0; wait_for_data = wfd; sync_mark = 0; sync_line = 0; |