]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/span-arpeggio-engraver.cc
2003 -> 2004
[lilypond.git] / lily / span-arpeggio-engraver.cc
index 92f6d0f42bf6f44677997c1c831922845cb21e23..c192d0a456408501f19eb5029e9f215999902948 100644 (file)
@@ -3,7 +3,9 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2000--2002 Jan Nieuwenhuizen <janneke@gnu.org>
+  (c) 2000--2004 Jan Nieuwenhuizen <janneke@gnu.org>
+
+  Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include "engraver.hh"
@@ -54,17 +56,16 @@ void
 Span_arpeggio_engraver::process_acknowledged_grobs ()
 {
   /*
-    connectArpeggios is slightly brusque; we should really read a elt
+    connectArpeggios is slightly brusque; we should really read a grob
     property of the caught non-span arpeggios. That way, we can have
 
     both non-connected and connected arps in one pianostaff.
-    
 
   */
   if (!span_arpeggio_ && arpeggios_.size () > 1
       && to_boolean (get_property ("connectArpeggios")))
     {
-      span_arpeggio_ = new Item (get_property ("Arpeggio"));
+      span_arpeggio_ = make_item ("Arpeggio");
       announce_grob(span_arpeggio_, SCM_EOL);      
     }
 }
@@ -105,7 +106,7 @@ Span_arpeggio_engraver::stop_translation_timestep ()
 ENTER_DESCRIPTION(Span_arpeggio_engraver,
 /* descr */       "",
 /* creats*/       "Arpeggio",
-/* accepts */     "general-music",
+/* accepts */     "",
 /* acks  */      "arpeggio-interface",
 /* reads */       "connectArpeggios",
 /* write */       "");