]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/script.cc
release: 1.3.110
[lilypond.git] / lily / script.cc
index 7143a308af9ce4e07e52467e3f0f2f505371da7d..c680f73d9306061e5b64929eaa4c0bf71a765156 100644 (file)
@@ -42,7 +42,7 @@ MAKE_SCHEME_CALLBACK(Script,after_line_breaking,1);
 SCM
 Script::after_line_breaking (SCM smob)
 {
-  Grob * me = unsmob_element (smob);
+  Grob * me = unsmob_grob (smob);
 
   Direction d = Side_position::get_direction (me);
   Side_position::set_direction (me,d);
@@ -55,7 +55,7 @@ MAKE_SCHEME_CALLBACK(Script,brew_molecule,1);
 SCM
 Script::brew_molecule (SCM smob)
 {
-  Grob *me= unsmob_element (smob);
+  Grob *me= unsmob_grob (smob);
 #if 0
    Direction dir = DOWN;
    SCM d = me->get_grob_property ("direction");