summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ghostregion.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-03-11 07:39:25 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2014-03-11 07:39:25 -0400
commit279aefc60e232475c771932744afc1304f0b92d5 (patch)
tree8f873ec7df1aee50cbdd839cebddf9ff2cb49cd5 /gtk2_ardour/ghostregion.cc
parentc10896e984c4e7532920815fbb20fc9c7467aea8 (diff)
fix error in height computation of MIDI region views (FUDGE!) use Rectangle::set_outline_all() and avoid the removed integer version of ::set_outline_what()
Diffstat (limited to 'gtk2_ardour/ghostregion.cc')
-rw-r--r--gtk2_ardour/ghostregion.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/ghostregion.cc b/gtk2_ardour/ghostregion.cc
index 3bdc690044..da2beeeca7 100644
--- a/gtk2_ardour/ghostregion.cc
+++ b/gtk2_ardour/ghostregion.cc
@@ -51,7 +51,7 @@ GhostRegion::GhostRegion (ArdourCanvas::Group* parent, TimeAxisView& tv, TimeAxi
base_rect->set_x0 (0);
base_rect->set_y0 (0.0);
base_rect->set_y1 (trackview.current_height() - 1.0);
- base_rect->set_outline_what (0);
+ base_rect->set_outline_what (ArdourCanvas::Rectangle::What (0));
if (!is_automation_ghost()) {
base_rect->hide();