]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/bar-engraver.cc
2003 -> 2004
[lilypond.git] / lily / bar-engraver.cc
index 8b4cc844e7f0eca36c6b95cedf8065d9931cf740..f3b94b25329305ae2334db40a495c8ca7b748cb6 100644 (file)
@@ -3,13 +3,13 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   Jan Nieuwenhuizen <janneke@gnu.org>
 */
 
 #include "bar-line.hh"
 #include "score-engraver.hh"
-#include "request.hh"
+#include "event.hh"
 #include "engraver-group-engraver.hh"
 #include "warn.hh"
 #include "item.hh"
@@ -47,7 +47,7 @@ Bar_engraver::create_bar ()
 {
   if (!bar_)
     {
-      bar_ = new Item (get_property ("BarLine"));
+      bar_ = make_item ("BarLine");
       SCM gl = get_property ("whichBar");
       if (scm_equal_p (gl, bar_->get_grob_property ("glyph")) != SCM_BOOL_T)
          bar_->set_grob_property ("glyph", gl);
@@ -109,8 +109,8 @@ Bar_engraver::stop_translation_timestep ()
 
 
 ENTER_DESCRIPTION(Bar_engraver,
-/* descr */       "Create barlines. This engraver is controlled through the
-@code{whichBar} property. If it has no bar line to create, it will forbid a linebreak at this point",
+/* descr */       "Create barlines. This engraver is controlled through the "
+"@code{whichBar} property. If it has no bar line to create, it will forbid a linebreak at this point",
 /* creats*/       "BarLine",
 /* accepts */     "",
 /* acks  */      "",