]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/simple-spacer.cc
release: 1.3.110
[lilypond.git] / lily / simple-spacer.cc
index 320867da3c2a6ba192217416af58aa29a2a044cb..dce34304d6a03842899a5cbe571f4016aacc5d27 100644 (file)
@@ -174,7 +174,7 @@ Simple_spacer::add_columns (Link_array<Grob> cols)
           spring_params == SCM_UNDEFINED && gh_pair_p (s);
           s = gh_cdr (s))
        {
-         Grob *other = unsmob_element (gh_caar (s));
+         Grob *other = unsmob_grob (gh_caar (s));
          if (other != cols[i+1])
            continue;
 
@@ -210,7 +210,7 @@ Simple_spacer::add_columns (Link_array<Grob> cols)
       for (SCM s = Spaceable_element::get_minimum_distances (cols[i]);
           gh_pair_p (s); s = gh_cdr (s))
        {
-         Grob * other = unsmob_element (gh_caar (s));
+         Grob * other = unsmob_grob (gh_caar (s));
          int oi = cols.find_i (other);
          if (oi >= 0)
            {