]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/span-bar-engraver.cc
Doc-es: update Extending/Scheme tutorial.
[lilypond.git] / lily / span-bar-engraver.cc
index 732c206f3c0dc0a404f34916a68f95c9df6eec52..63c245e70cbcb32f4620b4e8ecd4fd9a9ae4b8c7 100644 (file)
@@ -20,6 +20,9 @@
 #include "item.hh"
 #include "engraver.hh"
 #include "pointer-group-interface.hh"
+#include "lily-imports.hh"
+
+#include "translator.icc"
 
 /**
 
@@ -85,14 +88,12 @@ Span_bar_engraver::stop_translation_timestep ()
       SCM vis = bars_[0]->get_property ("break-visibility");
       if (ly_is_equal (spanbar_->get_property ("break-visibility"), vis))
         spanbar_->set_property ("break-visibility", vis);
-      scm_call_1 (ly_lily_module_constant ("span-bar::notify-grobs-of-my-existence"), spanbar_->self_scm ());
+      Lily::span_bar_notify_grobs_of_my_existence (spanbar_->self_scm ());
       spanbar_ = 0;
     }
   bars_.resize (0);
 }
 
-#include "translator.icc"
-
 ADD_ACKNOWLEDGER (Span_bar_engraver, bar_line);
 ADD_TRANSLATOR (Span_bar_engraver,
                 /* doc */