fix ambiguous reference.
authorRobin Gareus <robin@gareus.org>
Sat, 6 Dec 2014 04:52:31 +0000 (05:52 +0100)
committerRobin Gareus <robin@gareus.org>
Sat, 6 Dec 2014 04:52:31 +0000 (05:52 +0100)
OSX CoreServices typedef's struct Rect

gtk2_ardour/theme_manager.cc

index 04b6761b5c81381edfbe09e0b2e50f000fa898af..dfacb52c66366f18c7b0f8eb2faba34beef6d22b 100644 (file)
@@ -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;