diff --git a/libs/canvas/box.cc b/libs/canvas/box.cc index a145743224..5d32d34821 100644 --- a/libs/canvas/box.cc +++ b/libs/canvas/box.cc @@ -151,25 +151,6 @@ Box::set_homogenous (bool yn) homogenous = yn; } -void -Box::reset_self () -{ - if (_bounding_box_dirty) { - compute_bounding_box (); - } - - if (!_bounding_box) { - self->hide (); - return; - } - - Rect r (_bounding_box); - - /* XXX need to shrink by margin */ - - self->set (r); -} - void Box::reposition_children () {