]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/property-iterator.cc
unsmob_pitch -> Pitch::unsmob and related
[lilypond.git] / lily / property-iterator.cc
index 076bda4f00477df838e13ff8dc656e08ce936d11..f3036629a481f75490b500be0b78d16f4c344768 100644 (file)
@@ -94,7 +94,7 @@ SCM
 Property_iterator::once_finalization (SCM ctx, SCM music, SCM previous_value)
 {
   Music *m = unsmob_music (music);
-  Context *c = unsmob_context (ctx);
+  Context *c = Context::unsmob (ctx);
 
   // Do not use UnsetProperty, which sets the default, but rather
   // cache the value before the \once \set command and restore it now
@@ -164,7 +164,7 @@ SCM
 Push_property_iterator::once_finalization (SCM ctx, SCM music)
 {
   Music *mus = unsmob_music (music);
-  Context *c = unsmob_context (ctx);
+  Context *c = Context::unsmob (ctx);
 
   SCM sym = mus->get_property ("symbol");
   if (check_grob (mus, sym))