X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fpage-layout-problem-scheme.cc;h=d242966a9ba24fa95e62240c773e3fbe520e0120;hb=5d84bfad4626892bcffd05adcced53c8a2329047;hp=e4c62d3d291aef9c35df3695b68ac6abdf0a6ad8;hpb=1bbcb5955cad9c9067b66c88caf0b5e77ebb579a;p=lilypond.git diff --git a/lily/page-layout-problem-scheme.cc b/lily/page-layout-problem-scheme.cc index e4c62d3d29..d242966a9b 100644 --- a/lily/page-layout-problem-scheme.cc +++ b/lily/page-layout-problem-scheme.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2011 Joe Neeman + Copyright (C) 2011--2015 Joe Neeman LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -22,15 +22,15 @@ #include "page-layout-problem.hh" LY_DEFINE (ly_get_spacing_spec, "ly:get-spacing-spec", 2, 0, 0, - (SCM from_scm, SCM to_scm), - "Return the spacing spec going between the two given grobs," + (SCM from_scm, SCM to_scm), + "Return the spacing spec going between the two given grobs," " @var{from_scm} and @var{to_scm}.") { LY_ASSERT_SMOB (Grob, from_scm, 1); LY_ASSERT_SMOB (Grob, to_scm, 2); - Grob *from = unsmob_grob (from_scm); - Grob *to = unsmob_grob (to_scm); + Grob *from = unsmob (from_scm); + Grob *to = unsmob (to_scm); return Page_layout_problem::get_spacing_spec (from, to, false, 0, 0); }