summaryrefslogtreecommitdiff
path: root/gtk2_ardour/note_base.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-04-12 21:46:44 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-04-12 21:46:44 -0400
commit4e84bc3a39ca624d62be590c532a8bc33b33baa4 (patch)
treee81eda4a9f866590e1a4bb5891fba057c9b86ccc /gtk2_ardour/note_base.cc
parentb05968fb4e303ce47b6e09cd1bc713f3af28a6f9 (diff)
changes to get cairocanvas branch to build on OS X, with its stupid nil and Rect macros, plus some const_cast<> and unused variable fixes that should really be in master but will have to wait till we rebase master
Diffstat (limited to 'gtk2_ardour/note_base.cc')
-rw-r--r--gtk2_ardour/note_base.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/note_base.cc b/gtk2_ardour/note_base.cc
index b8587e16da..d4a2a63a92 100644
--- a/gtk2_ardour/note_base.cc
+++ b/gtk2_ardour/note_base.cc
@@ -279,7 +279,7 @@ NoteBase::set_mouse_fractions (GdkEvent* ev)
return;
}
- boost::optional<Rect> bbox = _item->bounding_box ();
+ boost::optional<ArdourCanvas::Rect> bbox = _item->bounding_box ();
assert (bbox);
_item->canvas_to_item (ix, iy);