From 6ac4d37beae3ffba7f985fc1f4cf2f8cad937eef Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 13 Aug 2021 14:11:08 -0600 Subject: [PATCH] fixes for macOS where Rect is a MacType --- gtk2_ardour/triggerbox_ui.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/triggerbox_ui.cc b/gtk2_ardour/triggerbox_ui.cc index 1007e9f180..3b6b84049f 100644 --- a/gtk2_ardour/triggerbox_ui.cc +++ b/gtk2_ardour/triggerbox_ui.cc @@ -56,7 +56,7 @@ TriggerEntry::TriggerEntry (Canvas* canvas, ARDOUR::Trigger& t) poly_margin = 2. * scale; poly_size = height - (poly_margin * 2.); - Rect r (0, 0, width, height); + ArdourCanvas::Rect r (0, 0, width, height); set (r); set_outline_all (); set_fill_color (Gtkmm2ext::random_color()); @@ -64,7 +64,7 @@ TriggerEntry::TriggerEntry (Canvas* canvas, ARDOUR::Trigger& t) name = string_compose ("trigger %1", _trigger.index()); play_button = new Rectangle (this); - play_button->set (Rect (0., 0., poly_size + (poly_margin * 2.), height)); + play_button->set (ArdourCanvas::Rect (0., 0., poly_size + (poly_margin * 2.), height)); play_button->set_outline (false); play_button->set_fill_color (0x000000ff); play_button->name = string_compose ("playbutton %1", _trigger.index());