From d223e2ed57d99da4938476df06e02c35c71efc60 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 6 Dec 2014 05:52:31 +0100 Subject: [PATCH] fix ambiguous reference. OSX CoreServices typedef's struct Rect --- gtk2_ardour/theme_manager.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/theme_manager.cc b/gtk2_ardour/theme_manager.cc index 04b6761b5c..dfacb52c66 100644 --- a/gtk2_ardour/theme_manager.cc +++ b/gtk2_ardour/theme_manager.cc @@ -586,7 +586,7 @@ ThemeManager::build_base_color_canvas (ArdourCanvas::Container& group, bool (The for (uint32_t y = 0; y < height - box_size && color_num < color_limit; y += box_size) { for (uint32_t x = 0; x < width - box_size && color_num < color_limit; x += box_size) { - Rectangle* r = new Rectangle (&group, Rect (x, y, x + box_size, y + box_size)); + Rectangle* r = new Rectangle (&group, ArdourCanvas::Rect (x, y, x + box_size, y + box_size)); string name = nc[color_num++].name;