]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/span-bar-engraver.cc
Remove unnecessary std
[lilypond.git] / lily / span-bar-engraver.cc
index 4addffcac66b218f8c1efd91feb9e16d0a7252dd..c856e4098e73fda38f2b7c32a796b766e41ebf7f 100644 (file)
@@ -71,7 +71,7 @@ Span_bar_engraver::process_acknowledged ()
     {
       Grob *vag = Grob::get_root_vertical_alignment (bars_[0]);
       if (vag)
-        vector_sort (bars_, Grob::vertical_less);
+        vector_sort (bars_, Grob::pure_vertical_less);
       spanbar_ = make_item ("SpanBar", SCM_EOL);
 
       spanbar_->set_parent (bars_[0], X_AXIS);
@@ -90,7 +90,7 @@ Span_bar_engraver::stop_translation_timestep ()
       SCM vis = bars_[0]->internal_get_property (vissym);
       if (ly_is_equal (spanbar_->internal_get_property (vissym), vis))
         spanbar_->set_property (vissym, vis);
-
+      Span_bar::notify_grobs_of_my_existence (spanbar_);
       spanbar_ = 0;
     }
   bars_.resize (0);