X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fchord-name-engraver.cc;h=dba699c8f4aaf119f0de742c33d96ca6fb3fefc7;hb=5bbfc22fce036b9b69df5e420de93e11da23c05e;hp=0cb0a7d8e417c0de8d501578dbac3b1079927d91;hpb=4935f81a94ae1b98cd017a96571c153cee3e5686;p=lilypond.git diff --git a/lily/chord-name-engraver.cc b/lily/chord-name-engraver.cc index 0cb0a7d8e4..dba699c8f4 100644 --- a/lily/chord-name-engraver.cc +++ b/lily/chord-name-engraver.cc @@ -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