simplify removal of outline from streamview base rect
authorPaul Davis <paul@linuxaudiosystems.com>
Fri, 7 Nov 2014 17:58:10 +0000 (12:58 -0500)
committerPaul Davis <paul@linuxaudiosystems.com>
Fri, 7 Nov 2014 17:58:56 +0000 (12:58 -0500)
gtk2_ardour/streamview.cc

index 850052163ea48c653d3cf914e682c1b43202eb30..ed759f3a7edc6109ee2728cd0521b4ba74574c62 100644 (file)
@@ -72,7 +72,7 @@ StreamView::StreamView (RouteTimeAxisView& tv, ArdourCanvas::Container* canvas_g
        canvas_rect = new ArdourCanvas::Rectangle (_canvas_group);
        CANVAS_DEBUG_NAME (canvas_rect, string_compose ("SV canvas rectangle %1", _trackview.name()));
        canvas_rect->set (ArdourCanvas::Rect (0, 0, ArdourCanvas::COORD_MAX, tv.current_height ()));
-       canvas_rect->set_outline_what (ArdourCanvas::Rectangle::What (0));
+       canvas_rect->set_outline (false);
        canvas_rect->set_fill (true);
        canvas_rect->Event.connect (sigc::bind (sigc::mem_fun (_trackview.editor(), &PublicEditor::canvas_stream_view_event), canvas_rect, &_trackview));