]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/script.cc
release: 1.3.134
[lilypond.git] / lily / script.cc
index 7143a308af9ce4e07e52467e3f0f2f505371da7d..b19724f6b18ef2f367ea9cb4612e0482ff7f0c6c 100644 (file)
@@ -3,7 +3,7 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 1999--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1999--2001 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   
  */
 
@@ -42,10 +42,10 @@ 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);
+  Direction d = Side_position_interface::get_direction (me);
+  Side_position_interface::set_direction (me,d);
 
   return SCM_UNSPECIFIED;
 }
@@ -55,14 +55,14 @@ 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");
    if (isdir_b (d))
      dir = to_dir (d);
 #endif
-  Direction dir = Side_position::get_direction(me);
+  Direction dir = Side_position_interface::get_direction(me);
   return get_molecule (me, dir).smobbed_copy();
 }