- rest_p_ = new Rest;
- rest_p_->balltype_i_ = rest_req_l_->duration_.durlog_i_;
- rest_p_->dots_i_ = rest_req_l_->duration_.dots_i_;
- if (rest_p_->dots_i_)
+ rest_p_ = new Item (get_property ("Rest"));
+ Rhythmic_head::set_interface (rest_p_);
+ Staff_symbol_referencer::set_interface (rest_p_);
+
+ int durlog = unsmob_duration (rest_req_l_->get_mus_property ("duration"))-> duration_log ();
+
+ rest_p_->set_grob_property ("duration-log",
+ gh_int2scm (durlog));
+
+ int dots =unsmob_duration (rest_req_l_->get_mus_property ("duration"))->dot_count ();
+
+ if (dots)