- Item * d = new Item (get_property ("Dots"));
- Rhythmic_head::set_dots (note_p, d);
-
- /*
- measly attempt to save an eeny-weenie bit of memory.
- */
- if (dots != gh_scm2int (d->get_grob_property ("dot-count")))
- d->set_grob_property ("dot-count", gh_int2scm (dots));
-
- d->set_parent (note_p, Y_AXIS);
- announce_grob (d, SCM_EOL);
- dot_p_arr_.push (d);
+ Item *d = make_item ("Dots", SCM_EOL);
+ Rhythmic_head::set_dots (note, d);
+
+ d->set_property ("dot-count", scm_from_int (dots));
+
+ d->set_parent (note, Y_AXIS);
+ dots_.push_back (d);