From: Robin Gareus Date: Sat, 6 Dec 2014 06:40:17 +0000 (+0100) Subject: fix another ambiguity, this time: WINAPI Rectangle X-Git-Tag: 4.0-rc1~1121 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=12a4ddc9522a2c154be7c84de5b12c475bee0eda;p=ardour.git fix another ambiguity, this time: WINAPI Rectangle --- diff --git a/gtk2_ardour/theme_manager.cc b/gtk2_ardour/theme_manager.cc index dfacb52c66..4ed26171a1 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, ArdourCanvas::Rect (x, y, x + box_size, y + box_size)); + ArdourCanvas::Rectangle* r = new Rectangle (&group, ArdourCanvas::Rect (x, y, x + box_size, y + box_size)); string name = nc[color_num++].name;