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