]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/span-arpeggio-engraver.cc
* make/lilypond.fedora.spec.in: rename file.
[lilypond.git] / lily / span-arpeggio-engraver.cc
index 763f7c5c1a545a4099b5e8e6e8841e849f283b69..d034b0219b01533ba85932b894869287773b078f 100644 (file)
@@ -24,7 +24,7 @@
 class Span_arpeggio_engraver : public Engraver
 {
 public:
-  TRANSLATOR_DECLARATIONS(Span_arpeggio_engraver);
+  TRANSLATOR_DECLARATIONS (Span_arpeggio_engraver);
   
 protected:
   virtual void acknowledge_grob (Grob_info);
@@ -65,8 +65,8 @@ Span_arpeggio_engraver::process_acknowledged_grobs ()
   if (!span_arpeggio_ && arpeggios_.size () > 1
       && to_boolean (get_property ("connectArpeggios")))
     {
-      span_arpeggio_ = make_item ("Arpeggio");
-      announce_grob(span_arpeggio_, SCM_EOL);      
+      span_arpeggio_ = make_item ("Arpeggio", SCM_EOL);
+            
     }
 }
 
@@ -81,21 +81,20 @@ Span_arpeggio_engraver::stop_translation_timestep ()
        */
       for (int i=0; i < arpeggios_.size (); i ++)
        {
-         for (SCM s = arpeggios_[i]->get_grob_property ("stems");
-              gh_pair_p (s); s = ly_cdr (s))
+         for (SCM s = arpeggios_[i]->get_property ("stems");
+              scm_is_pair (s); s = ly_cdr (s))
            Group_interface::add_thing (span_arpeggio_, ly_symbol2scm ("stems"), ly_car (s));
-         for (SCM s = arpeggios_[i]->get_grob_property ("side-support-elements");
-              gh_pair_p (s); s = ly_cdr (s))
+         for (SCM s = arpeggios_[i]->get_property ("side-support-elements");
+              scm_is_pair (s); s = ly_cdr (s))
            Group_interface::add_thing (span_arpeggio_, ly_symbol2scm ("side-support-elements"), ly_car (s));
 
          /*
            we can't kill the children, since we don't want to the
            previous note to bump into the span arpeggio; so we make
            it transparent.  */
-         arpeggios_[i]->set_grob_property ("print-function", SCM_EOL);
+         arpeggios_[i]->set_property ("print-function", SCM_EOL);
        }
       
-      typeset_grob (span_arpeggio_);
       span_arpeggio_ = 0;
     }
   arpeggios_.clear ();
@@ -103,7 +102,7 @@ Span_arpeggio_engraver::stop_translation_timestep ()
 
 
 
-ENTER_DESCRIPTION(Span_arpeggio_engraver,
+ENTER_DESCRIPTION (Span_arpeggio_engraver,
 /* descr */       "",
 /* creats*/       "Arpeggio",
 /* accepts */     "",