From da00c502713a8bcde703450cb1e1dc3be2d64279 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 15 Dec 2021 09:38:10 -0700 Subject: [PATCH] disambiguate Rectangle for win/macOS --- gtk2_ardour/audio_clip_editor.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gtk2_ardour/audio_clip_editor.cc b/gtk2_ardour/audio_clip_editor.cc index d2065ac528..f2dac45bdb 100644 --- a/gtk2_ardour/audio_clip_editor.cc +++ b/gtk2_ardour/audio_clip_editor.cc @@ -128,15 +128,15 @@ AudioClipEditor::AudioClipEditor () { const double scale = UIConfiguration::instance ().get_ui_scale (); - frame = new Rectangle (root ()); + frame = new ArdourCanvas::Rectangle (root ()); frame->name = "audio clip editor frame"; frame->set_fill (false); frame->Event.connect (sigc::mem_fun (*this, &AudioClipEditor::event_handler)); /* Scroll bar does not scroll and it outside the frame */ - scroll_bar_trough = new Rectangle (root ()); - scroll_bar_handle = new Rectangle (scroll_bar_trough); + scroll_bar_trough = new ArdourCanvas::Rectangle (root ()); + scroll_bar_handle = new ArdourCanvas::Rectangle (scroll_bar_trough); scroll_bar_handle->set_outline (false); scroll_bar_handle->set_corner_radius (5.); scroll_bar_handle->Event.connect (sigc::mem_fun (*this, &AudioClipEditor::scroll_event_handler));