]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/hyphen-engraver.cc
* lily/beam.cc (set_minimum_dy): new function. Round non-zero
[lilypond.git] / lily / hyphen-engraver.cc
index 9e87e8ecb1559f7c7816039159c5aa85929dc626..727a657606f43a50ff33bb3cf879af420f69835c 100644 (file)
@@ -73,7 +73,7 @@ completize_hyphen (Spanner* sp)
   if (!sp->get_bound (RIGHT))
     {
       SCM heads = sp->get_property ("heads");
-      if (is_pair (heads))
+      if (ly_c_pair_p (heads))
        {
          Item* it = dynamic_cast<Item*> (unsmob_grob (ly_car (heads)));
          if (it)
@@ -97,7 +97,6 @@ Hyphen_engraver::finalize ()
          hyphen_->suicide ();
        }
 
-      typeset_grob (hyphen_);
       hyphen_ = 0;
     }
 
@@ -110,7 +109,6 @@ Hyphen_engraver::finalize ()
          finished_hyphen_->warning (_("unterminated hyphen; removing"));
          finished_hyphen_->suicide ();
        }
-      typeset_grob (finished_hyphen_);
       finished_hyphen_ =0;
     }
 }
@@ -120,8 +118,8 @@ Hyphen_engraver::process_music ()
 {
   if (ev_)
     {
-      hyphen_ = make_spanner ("LyricHyphen");
-      announce_grob (hyphen_, ev_->self_scm ());
+      hyphen_ = make_spanner ("LyricHyphen", ev_->self_scm ()
+);
     }
 }
 
@@ -131,14 +129,12 @@ Hyphen_engraver::stop_translation_timestep ()
 {
   if (finished_hyphen_ && finished_hyphen_->get_bound (RIGHT))
     {
-      typeset_grob (finished_hyphen_);
       finished_hyphen_ = 0;
     }
 
   if (finished_hyphen_ && hyphen_)
     {
       programming_error ("Haven't finished hyphen yet.");
-      typeset_grob (finished_hyphen_);
       finished_hyphen_ =0;
     }