]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/stanza-number-engraver.cc
2003 -> 2004
[lilypond.git] / lily / stanza-number-engraver.cc
index 6d76b3804196580db9f1d415c56df305a884c9bb..f5d7257154dd05e16b21a14f0a15bc5d65fabd3e 100644 (file)
@@ -3,7 +3,7 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 2000--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>, Glen Prideaux <glenprideaux@iname.com>
+  (c) 2000--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>, Glen Prideaux <glenprideaux@iname.com>
 
 */
 
@@ -49,7 +49,7 @@ Stanza_number_engraver::process_music ()
     {
       last_stanza_ = stanza;
       
-      text_ = new Item (get_property ("StanzaNumber"));
+      text_ = make_item ("StanzaNumber");
       text_->set_grob_property ("text", stanza);
       announce_grob (text_, SCM_EOL);
     }
@@ -60,7 +60,7 @@ void
 Stanza_number_engraver::acknowledge_grob (Grob_info inf)
 {
   if (text_
-      && inf.grob_->internal_has_interface (ly_symbol2scm ("lyric-text-interface")))
+      && inf.grob_->internal_has_interface (ly_symbol2scm ("lyric-syllable-interface")))
     {
       Side_position_interface::add_support (text_, inf.grob_);
     }