]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/grob-closure.cc
Issue 4422/7: Documentation fixes and Changelog
[lilypond.git] / lily / grob-closure.cc
index 06a947d0de3a169a721ba45c2cc5d04ffe3dd672..c9080f4fb7a6241865fb356c16e14370f9c88e6e 100644 (file)
@@ -33,15 +33,15 @@ add_offset_callback (Grob *g, SCM proc, Axis a)
   SCM data = g->get_property_data (axis_offset_symbol (a));
   if (!scm_is_number (data)
       && !ly_is_procedure (data)
-      && !Simple_closure::unsmob (data))
+      && !unsmob<Simple_closure> (data))
     {
       g->set_property (axis_offset_symbol (a), proc);
       return;
     }
 
-  if (ly_is_procedure (data) || is_unpure_pure_container (data))
+  if (ly_is_procedure (data) || unsmob<Unpure_pure_container> (data))
     data = Simple_closure::make_smob (scm_list_1 (data));
-  else if (Simple_closure *sc = Simple_closure::unsmob (data))
+  else if (Simple_closure *sc = unsmob<Simple_closure> (data))
     data = sc->expression ();
 
   SCM plus = ly_lily_module_constant ("+");
@@ -67,9 +67,9 @@ chain_callback (Grob *g, SCM proc, SCM sym)
 {
   SCM data = g->get_property_data (sym);
 
-  if (ly_is_procedure (data) || is_unpure_pure_container (data))
+  if (ly_is_procedure (data) || unsmob<Unpure_pure_container> (data))
     data = Simple_closure::make_smob (scm_list_1 (data));
-  else if (Simple_closure *sc = Simple_closure::unsmob (data))
+  else if (Simple_closure *sc = unsmob<Simple_closure> (data))
     data = sc->expression ();
   else
     /*