]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/page-layout-problem-scheme.cc
Release: bump Welcome versions.
[lilypond.git] / lily / page-layout-problem-scheme.cc
index e4c62d3d291aef9c35df3695b68ac6abdf0a6ad8..d242966a9ba24fa95e62240c773e3fbe520e0120 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2011 Joe Neeman <joeneeman@gmail.com>
+  Copyright (C) 2011--2015 Joe Neeman <joeneeman@gmail.com>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
 #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<Grob> (from_scm);
+  Grob *to = unsmob<Grob> (to_scm);
 
   return Page_layout_problem::get_spacing_spec (from, to, false, 0, 0);
 }