]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/custos-engraver.cc
remove
[lilypond.git] / lily / custos-engraver.cc
index 5b110886c347b13fa86b2e7eafc1d16853934e41..40b2941c07f64929aa3e9855be6a1bc258b06451 100644 (file)
@@ -51,10 +51,6 @@ Custos_engraver::stop_translation_timestep ()
   /*
     delay typeset until we're at the next moment, so we can silence custodes at the end of the piece.
    */
-  for (int i = custodes_.size (); i--;)
-    {
-      typeset_grob (custodes_[i]);
-    }
   pitches_.clear ();
 
   custos_permitted = false;
@@ -108,7 +104,7 @@ Custos_engraver::process_acknowledged_grobs ()
 
          int p = pitches_[i].steps ();
          SCM c0 = get_property ("middleCPosition");
-         if (is_number (c0))
+         if (ly_c_number_p (c0))
            p += ly_scm2int (c0);
 
          
@@ -124,9 +120,9 @@ Custos_engraver::process_acknowledged_grobs ()
 Item* 
 Custos_engraver::create_custos ()
 {
-  Item* custos = make_item ("Custos");
+  Item* custos = make_item ("Custos", SCM_EOL);
+  
   
-  announce_grob (custos, SCM_EOL);
   custodes_.push (custos);
   
   return custos;
@@ -138,7 +134,6 @@ Custos_engraver::finalize ()
   for (int i = custodes_.size (); i--;)
     {
       custodes_[i]->suicide ();
-      typeset_grob (custodes_[i]);
     }
   custodes_.clear ();
 }