]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/span-bar-stub-engraver.cc
Doc: NR Fixes mis-ordered menu section for 4.3
[lilypond.git] / lily / span-bar-stub-engraver.cc
index 88d82b36c6dedbb32879eb67268e24893bce539e..d02ff4ae54873006e1b60228684194381207b3fe 100644 (file)
@@ -93,7 +93,7 @@ Span_bar_stub_engraver::process_acknowledged ()
       programming_error ("At least one vertical axis group needs to be created in the first time step.");
       return;
     }
-  Grob *vertical_alignment = Grob::get_root_vertical_alignment (unsmob_grob (scm_caar (axis_groups_)));
+  Grob *vertical_alignment = Grob::get_root_vertical_alignment (Grob::unsmob (scm_caar (axis_groups_)));
   if (!vertical_alignment) // we are at the beginning of a score, so no need for stubs
     return;
 
@@ -112,8 +112,8 @@ Span_bar_stub_engraver::process_acknowledged ()
       vector<bool> keep_extent;
       for (SCM s = axis_groups_; scm_is_pair (s); s = scm_cdr (s))
         {
-          Context *c = unsmob_context (scm_cdar (s));
-          Grob *g = unsmob_grob (scm_caar (s));
+          Context *c = Context::unsmob (scm_cdar (s));
+          Grob *g = Grob::unsmob (scm_caar (s));
           if (!c || !g)
             continue;
           if (c->is_removable ())
@@ -162,8 +162,8 @@ Span_bar_stub_engraver::stop_translation_timestep ()
   SCM axis_groups = SCM_EOL;
   for (SCM s = axis_groups_; scm_is_pair (s); s = scm_cdr (s))
     {
-      Context *c = unsmob_context (scm_cdar (s));
-      Grob *g = unsmob_grob (scm_caar (s));
+      Context *c = Context::unsmob (scm_cdar (s));
+      Grob *g = Grob::unsmob (scm_caar (s));
       if (!c || !g)
         continue;
       if (c->is_removable ())