]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/grob.cc
Fix 884.
[lilypond.git] / lily / grob.cc
index 911243bd5bd0a77a72e4f076a457d94ea9f03ef3..2680f55b47eea839316ec9f68d0cf0fe9814446b 100644 (file)
@@ -448,10 +448,7 @@ Grob::extent (Grob *refp, Axis a) const
 Interval
 Grob::pure_height (Grob *refp, int start, int end)
 {
-  SCM proc = get_property_data (ly_symbol2scm ("Y-extent"));
-  SCM iv_scm = call_pure_function (proc,
-                                  scm_list_1 (self_scm ()),
-                                  start, end);
+  SCM iv_scm = get_pure_property ("Y-extent", start, end);
   Interval iv = robust_scm2interval (iv_scm, Interval (0, 0));
   Real offset = pure_relative_y_coordinate (refp, start, end);