]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/stanza-number-engraver.cc
(struct Simple_spacer): remove
[lilypond.git] / lily / stanza-number-engraver.cc
index 3ccf2ab485fc9a9f345e3864e2d4d286ed881a7e..8904bdd712cc5b4536a7c1cd51f81509848ea8f9 100644 (file)
@@ -45,13 +45,13 @@ Stanza_number_engraver::process_music ()
 {
   SCM stanza = get_property ("stanza");
   
-  if (ly_string_p (stanza) && stanza != last_stanza_)
+  if (ly_c_string_p (stanza) && stanza != last_stanza_)
     {
       last_stanza_ = stanza;
       
-      text_ = make_item ("StanzaNumber");
+      text_ = make_item ("StanzaNumber", SCM_EOL);
       text_->set_property ("text", stanza);
-      announce_grob (text_, SCM_EOL);
+      
     }
 }
 
@@ -69,11 +69,7 @@ Stanza_number_engraver::acknowledge_grob (Grob_info inf)
 void
 Stanza_number_engraver::stop_translation_timestep ()
 {
-  if (text_)
-    {
-      typeset_grob (text_);
-      text_ = 0;
-    }
+  text_ = 0;
 }