]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/constrained-breaking.cc
lilypond-manuals.css: edit color scheme and some spacing
[lilypond.git] / lily / constrained-breaking.cc
index 1a98775a96e929480e48cc83c749f7279093004f..df08d5433ce6cefd38c944448a80c20f0350c8cf 100644 (file)
@@ -560,7 +560,7 @@ Line_details::Line_details (Prob *pb, Output_def *paper)
   if (scm_is_pair (footnotes))
     for (SCM s = footnotes; scm_is_pair (s); s = scm_cdr (s))
       {
-        Stencil *sten = Stencil::unsmob (scm_caddar (s));
+        Stencil *sten = unsmob<Stencil> (scm_caddar (s));
         if (!sten)
           {
             programming_error ("expecting stencil, got empty pointer");
@@ -571,7 +571,7 @@ Line_details::Line_details (Prob *pb, Output_def *paper)
 
   last_column_ = 0;
   force_ = 0;
-  Stencil *st = Stencil::unsmob (pb->get_property ("stencil"));
+  Stencil *st = unsmob<Stencil> (pb->get_property ("stencil"));
   Interval stencil_extent = st->is_empty (Y_AXIS) ? Interval (0, 0)
     : st->extent (Y_AXIS);
   shape_ = Line_shape (stencil_extent, stencil_extent); // pretend it goes all the way across