]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/grid-line-interface.cc
unsmob_pitch -> Pitch::unsmob and related
[lilypond.git] / lily / grid-line-interface.cc
index 5eb566c0eb443e087b08886f9c5a08521c75d456..5b51499223e31dc407c4add0818a866b8ac3dde4 100644 (file)
@@ -28,7 +28,7 @@ MAKE_SCHEME_CALLBACK (Grid_line_interface, print, 1);
 SCM
 Grid_line_interface::print (SCM smobbed_me)
 {
-  Grob *me = unsmob_grob (smobbed_me);
+  Grob *me = Grob::unsmob (smobbed_me);
 
   extract_grob_set (me, "elements", elts);
   /* compute common refpoint of elements */
@@ -63,7 +63,7 @@ MAKE_SCHEME_CALLBACK (Grid_line_interface, width, 1);
 SCM
 Grid_line_interface::width (SCM smob)
 {
-  Grob *me = unsmob_grob (smob);
+  Grob *me = Grob::unsmob (smob);
 
   Real staffline = me->layout ()->get_dimension (ly_symbol2scm ("line-thickness"));
   Real thick = robust_scm2double (me->get_property ("thickness"), 1.0)