]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/page-layout-problem-scheme.cc
unsmob_pitch -> Pitch::unsmob and related
[lilypond.git] / lily / page-layout-problem-scheme.cc
index 9e976fef5d6c2bfc10ce076bc775525c6d31d76b..933368517c8f7e43b3571e72ae232031ab96decc 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--2014 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
@@ -29,8 +29,8 @@ LY_DEFINE (ly_get_spacing_spec, "ly:get-spacing-spec", 2, 0, 0,
   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 = Grob::unsmob (from_scm);
+  Grob *to = Grob::unsmob (to_scm);
 
   return Page_layout_problem::get_spacing_spec (from, to, false, 0, 0);
 }