]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/mensural-ligature.cc
Doc-es: various updates.
[lilypond.git] / lily / mensural-ligature.cc
index 036ce027af733d9e8e8f33d6f572ef1a5e4f87b1..5a3b3e9543a210e1e95e5338bb838f347ada0014 100644 (file)
@@ -117,7 +117,7 @@ Stencil
 internal_brew_primitive (Grob *me)
 {
   SCM primitive_scm = me->get_property ("primitive");
-  if (primitive_scm == SCM_EOL)
+  if (scm_is_null (primitive_scm))
     {
       programming_error ("Mensural_ligature:"
                          " undefined primitive -> ignoring grob");
@@ -270,7 +270,7 @@ MAKE_SCHEME_CALLBACK (Mensural_ligature, brew_ligature_primitive, 1);
 SCM
 Mensural_ligature::brew_ligature_primitive (SCM smob)
 {
-  Grob *me = Grob::unsmob (smob);
+  Grob *me = unsmob<Grob> (smob);
   return internal_brew_primitive (me).smobbed_copy ();
 }