- if (note_req_l->duration_.dots_i_
- != gh_scm2int (d->get_elt_property ("dot-count")))
- d->set_elt_property ("dot-count", gh_int2scm (note_req_l->duration_.dots_i_));
-
- d->set_parent (note_p, Y_AXIS);
- d->add_offset_callback (Dots_quantised_position_callback_proc, Y_AXIS);
- announce_element (d,0);
- dot_p_arr_.push (d);
+ if (dur.dot_count ()
+ != robust_scm2int (d->get_grob_property ("dot-count"), 0))
+ d->set_grob_property ("dot-count", gh_int2scm (dur.dot_count ()));
+
+ d->set_parent (note, Y_AXIS);
+ announce_grob (d, SCM_EOL);
+ dots_.push (d);