]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/note-spacing.cc
Let \autochange accept optional arguments for the turning-point and clefs
[lilypond.git] / lily / note-spacing.cc
index 0a90b2ddf769f7b892a74a57a8a3e503edf86420..fcd1523d2f1d2ba88f5b3ca3b2b04da561ac2847 100644 (file)
@@ -49,7 +49,7 @@ Note_spacing::get_spacing (Grob *me, Item *right_col,
   for (vsize i = 0; i < note_columns.size (); i++)
     {
       SCM r = note_columns[i]->get_object ("rest");
-      Grob *g = Grob::unsmob (r);
+      Grob *g = unsmob<Grob> (r);
       Grob *col = note_columns[i]->get_column ();
 
       if (!g)