projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6e46715
)
Let AxisView::set_gui_property perform type conversion in TimeAxisView::set_height
author
Tim Mayberry
<mojofunk@gmail.com>
Tue, 30 Aug 2016 09:59:49 +0000
(19:59 +1000)
committer
Tim Mayberry
<mojofunk@gmail.com>
Tue, 18 Apr 2017 23:36:57 +0000
(09:36 +1000)
gtk2_ardour/time_axis_view.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/time_axis_view.cc
b/gtk2_ardour/time_axis_view.cc
index 67e487f648462601876ebb61cc8667aea4a867e7..3e3f5e26cac10ea80b77fdefd610980d1a588970 100644
(file)
--- a/
gtk2_ardour/time_axis_view.cc
+++ b/
gtk2_ardour/time_axis_view.cc
@@
-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 ();