Let AxisView::set_gui_property perform type conversion in TimeAxisView::set_height
This commit is contained in:
parent
6e467153a0
commit
7fdbabcd79
@ -590,9 +590,7 @@ TimeAxisView::set_height (uint32_t h, TrackHeightMode m)
|
||||
TOP_LEVEL_WIDGET.property_height_request () = h;
|
||||
height = h;
|
||||
|
||||
char buf[32];
|
||||
snprintf (buf, sizeof (buf), "%u", height);
|
||||
set_gui_property ("height", buf);
|
||||
set_gui_property ("height", height);
|
||||
|
||||
for (list<GhostRegion*>::iterator i = ghosts.begin(); i != ghosts.end(); ++i) {
|
||||
(*i)->set_height ();
|
||||
|
Loading…
Reference in New Issue
Block a user