]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/a2-engraver.cc
* lily/side-position-interface.cc: remove add_staff_support ()
[lilypond.git] / lily / a2-engraver.cc
index c1b5e47036eee42937a2c96988d4b75be6415528..e50fffae20eb9808aa89a03b51c0d5807e9ded33 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
   
-  (c) 2000--2002 Jan Nieuwenhuizen <janneke@gnu.org>
+  (c) 2000--2003 Jan Nieuwenhuizen <janneke@gnu.org>
 */
 
 #include "engraver.hh"
@@ -54,7 +54,7 @@ A2_engraver::process_acknowledged_grobs ()
              || (unison == SCM_BOOL_T && state_ != UNISON
                  && daddy_trans_->id_string_.left_string (3) == "one")))
        {
-         text_ = new Item (get_property ("TextScript"));
+         text_ = make_item ("TextScript");
          Side_position_interface::set_axis (text_, Y_AXIS);
          announce_grob(text_, SCM_EOL);
       
@@ -80,7 +80,7 @@ A2_engraver::process_acknowledged_grobs ()
                text = get_property ("aDueText");
            }
          
-         Side_position_interface::set_direction (text_, dir);
+         set_grob_direction (text_, dir);
          text_->set_grob_property ("text", text);
        }
     }
@@ -193,7 +193,6 @@ A2_engraver::stop_translation_timestep ()
 {
   if (text_)
     {
-      Side_position_interface::add_staff_support (text_);
       typeset_grob (text_);
       text_ = 0;
     }