lab_children.clear();
- // leave the last one (the time_canvas_scroller) intact
+ // leave the last one (the time_canvas) intact
while (ruler_children.size() > 1) {
ruler_children.pop_front();
}
if (ruler_shown[ruler_time_tempo]) {
lab_children.push_back (Element(tempo_label, PACK_SHRINK, PACK_START));
- gtk_object_get (GTK_OBJECT(tempo_group), "y", &old_unit_pos);
+ old_unit_pos = tempo_group->property_y();
if (tbpos != old_unit_pos) {
tempo_group->move(0.0, tbpos - old_unit_pos);
}