]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/relative-octave-check.cc
unsmob_pitch -> Pitch::unsmob and related
[lilypond.git] / lily / relative-octave-check.cc
index c403b2ad9d293e01e10f10745e222ae3667c8caa..627173ea77902663f60e0b489ea667e95df872e3 100644 (file)
@@ -31,9 +31,9 @@ MAKE_SCHEME_CALLBACK (Relative_octave_check, relative_callback, 2)
 SCM
 Relative_octave_check::relative_callback (SCM music, SCM last_pitch)
 {
-  Pitch p = *unsmob_pitch (last_pitch);
+  Pitch p = *Pitch::unsmob (last_pitch);
   Music *m = unsmob_music (music);
-  Pitch *check_p = unsmob_pitch (m->get_property ("pitch"));
+  Pitch *check_p = Pitch::unsmob (m->get_property ("pitch"));
 
   int delta_oct = 0;
   if (check_p)