#include "lily-guile.hh"
-#include "bar.hh"
+#include "bar-line.hh"
#include "item.hh"
#include "span-bar.hh"
#include "engraver.hh"
{
int depth = i.origin_trans_l_arr (this).size ();
if (depth > 1
- && Bar::has_interface (i.grob_l_))
+ && Bar_line::has_interface (i.grob_l_))
{
Item * it = dynamic_cast<Item*> (i.grob_l_);
bar_l_arr_.push (it);
if (bar_l_arr_.size () >= 2 && !spanbar_p_)
{
spanbar_p_ = new Item (get_property ("SpanBar"));
- Span_bar::set_interface (spanbar_p_);
+
spanbar_p_->set_parent (bar_l_arr_[0], X_AXIS);
- announce_grob (spanbar_p_,0);
+ announce_grob (spanbar_p_, SCM_EOL);
}
}
}