]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/chord-name-engraver.cc
unsmob_pitch -> Pitch::unsmob and related
[lilypond.git] / lily / chord-name-engraver.cc
index 0cb0a7d8e417c0de8d501578dbac3b1079927d91..dba699c8f4aaf119f0de742c33d96ca6fb3fefc7 100644 (file)
@@ -96,7 +96,7 @@ Chord_name_engraver::process_music ()
             {
               Stream_event *n = notes_[i];
               SCM p = n->get_property ("pitch");
-              if (!unsmob_pitch (p))
+              if (!Pitch::unsmob (p))
                 continue;
 
               if (n->get_property ("bass") == SCM_BOOL_T)
@@ -106,7 +106,7 @@ Chord_name_engraver::process_music ()
                   SCM oct = n->get_property ("octavation");
                   if (scm_is_number (oct))
                     {
-                      Pitch orig = unsmob_pitch (p)->transposed (Pitch (-scm_to_int (oct), 0, 0));
+                      Pitch orig = Pitch::unsmob (p)->transposed (Pitch (-scm_to_int (oct), 0));
                       pitches = scm_cons (orig.smobbed_copy (), pitches);
                     }
                   else