]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/align-interface.cc
release: 1.3.92
[lilypond.git] / lily / align-interface.cc
index 621c691203bad975ea5f660e673f2fb8d13a620c..8e07f9870ec24725847d7074de1c14d7afb927e6 100644 (file)
@@ -30,19 +30,6 @@ Align_interface::alignment_callback (Score_element *sc, Axis ax)
 }
 
 
-Real
-Align_interface::center_on_element (Score_element *me, Axis a)
-{
-  Score_element *cent = unsmob_element (me->get_elt_property ("group-center-element"));
-
-  if (cent)
-    {
-      Real r = cent->relative_coordinate (me,  a);
-      return -r;
-    }
-  return 0;
-}
-
 /*
   Hairy function to put elements where they should be. Can be tweaked
   from the outside by setting minimum-space and extra-space in its