diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2016-08-27 14:15:18 +1000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2017-04-19 09:36:55 +1000 |
commit | d41d6122769cabdb51922297f37bfc8e667dc9fd (patch) | |
tree | fb5c7c75a14d8ef511db32bbea888b9b695f8d9f /gtk2_ardour/editor_mixer.cc | |
parent | 8d6df23ebc5329ec1bd54b92cd5c832a76a30535 (diff) |
Use XMLNode::get/set_property API in Mixer_UI class
Diffstat (limited to 'gtk2_ardour/editor_mixer.cc')
-rw-r--r-- | gtk2_ardour/editor_mixer.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_mixer.cc b/gtk2_ardour/editor_mixer.cc index 51691136ae..840b2293cf 100644 --- a/gtk2_ardour/editor_mixer.cc +++ b/gtk2_ardour/editor_mixer.cc @@ -39,6 +39,7 @@ #include "editor.h" #include "editor_route_groups.h" #include "editor_regions.h" +#include "enums_convert.h" #include "gui_thread.h" #include "midi_time_axis.h" #include "mixer_strip.h" @@ -271,7 +272,7 @@ void Editor::maybe_add_mixer_strip_width (XMLNode& node) { if (current_mixer_strip) { - node.add_property ("mixer-width", enum_2_string (editor_mixer_strip_width)); + node.set_property ("mixer-width", editor_mixer_strip_width); } } |