projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
clean up GUIObjectState API, and use bools when setting "visible" property rather...
[ardour.git]
/
gtk2_ardour
/
automation_time_axis.cc
diff --git
a/gtk2_ardour/automation_time_axis.cc
b/gtk2_ardour/automation_time_axis.cc
index e8b0d9b8ede180ddd225423100faaf9ef564c72a..def810f74e4c86d9e1342c87a4e2729982b4d52a 100644
(file)
--- a/
gtk2_ardour/automation_time_axis.cc
+++ b/
gtk2_ardour/automation_time_axis.cc
@@
-942,9
+942,9
@@
AutomationTimeAxisView::set_state_2X (const XMLNode& node, int /*version*/)
if (yn) {
_canvas_display->show (); /* FIXME: necessary? show_at? */
}
- set_gui_property ("visible",
(yn ? "yes" : "no")
);
+ set_gui_property ("visible",
yn
);
} else {
- set_gui_property ("visible",
"no"
);
+ set_gui_property ("visible",
false
);
}
}