]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/ambitus-engraver.cc
* gcc-3.4 snapshot: 3.4.0 20040215 (prerelease) compile fixes, and
[lilypond.git] / lily / ambitus-engraver.cc
index 1982beeff142b8de84cae73a19c3fef098b2c350..4abc7fab14463680b997d4477e74161aa52e25ee 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2002--2003 Juergen Reuter <reuter@ipd.uka.de>
+  (c) 2002--2004 Juergen Reuter <reuter@ipd.uka.de>
 */
 
 #include "engraver.hh"
@@ -115,13 +115,13 @@ Ambitus_engraver::stop_translation_timestep ()
        * assumed to be 0.
        */
       SCM c0 = get_property ("centralCPosition");
-      ambitus_->set_grob_property ("c0-position", c0);
+      ambitus_->set_property ("c0-position", c0);
 
       /*
        * Similar for keySignature.
        */
       SCM key_signature = get_property ("keySignature");
-      ambitus_->set_grob_property ("accidentals", key_signature);
+      ambitus_->set_property ("accidentals", key_signature);
 
       typeset_grob (ambitus_);
       is_typeset = 1;
@@ -139,7 +139,7 @@ Ambitus_engraver::acknowledge_grob (Grob_info info)
          Music *nr = info.music_cause ();
          if (nr && nr->is_mus_type ("note-event"))
            {
-             Pitch pitch = *unsmob_pitch (nr->get_mus_property ("pitch"));
+             Pitch pitch = *unsmob_pitch (nr->get_property ("pitch"));
              if (Pitch::compare (pitch_min, pitch_max) > 0) // already init'd?
                {
                  // not yet init'd; use current pitch to init min/max
@@ -174,9 +174,9 @@ Ambitus_engraver::finalize ()
     {
       if (Pitch::compare (pitch_min, pitch_max) <= 0)
        {
-         ambitus_->set_grob_property ("pitch-min",
+         ambitus_->set_property ("pitch-min",
                                         pitch_min.smobbed_copy ());
-         ambitus_->set_grob_property ("pitch-max",
+         ambitus_->set_property ("pitch-max",
                                         pitch_max.smobbed_copy ());
        }
       else // have not seen any pitch, so forget about the ambitus