one less annoying compiler warning.
[ardour.git] / libs / canvas / root_group.cc
index 015f52bb54a38f9c9af8242da054d535f1c3d73a..accbcb9b3030775a09945f5f7b0cb28df16f94b1 100644 (file)
@@ -24,7 +24,7 @@ using namespace std;
 using namespace ArdourCanvas;
 
 Root::Root (Canvas* canvas)
-       : Layout (canvas)
+       : Container (canvas)
 {
 #ifdef CANVAS_DEBUG
        name = "ROOT";
@@ -34,7 +34,7 @@ Root::Root (Canvas* canvas)
 void
 Root::compute_bounding_box () const
 {
-       Layout::compute_bounding_box ();
+       Container::compute_bounding_box ();
 
        if (_bounding_box) {
                Rect r (_bounding_box.get());