]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/staff-symbol-referencer-scheme.cc
Merge with master
[lilypond.git] / lily / staff-symbol-referencer-scheme.cc
index 134e6cc18489977eadc610eba15cf07dad0cc44f..8e0094f143d29abc7f56e8db760e161f934e9f23 100644 (file)
@@ -14,7 +14,7 @@ LY_DEFINE (ly_grob_staff_position, "ly:grob-staff-position",
           1, 0, 0, (SCM sg),
           "Return the Y-position of @var{sg} relative to the staff.")
 {
-  LY_ASSERT_FIRST_SMOB (Grob, sg);
+  LY_ASSERT_SMOB (Grob, sg, 1);
   Grob *g = unsmob_grob (sg);
   Real pos = Staff_symbol_referencer::get_position (g);