projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d52b42
)
Use XMLNode::set_property API in Midi::Port class
author
Tim Mayberry
<mojofunk@gmail.com>
Sun, 28 Aug 2016 13:22:22 +0000
(23:22 +1000)
committer
Tim Mayberry
<mojofunk@gmail.com>
Tue, 18 Apr 2017 23:36:48 +0000
(09:36 +1000)
libs/midi++2/port.cc
patch
|
blob
|
history
diff --git
a/libs/midi++2/port.cc
b/libs/midi++2/port.cc
index 629dff07969ba64b739dce6dfb724d53e997e71d..b7c080b6ac797a0a3964f923681ca9212c6222ed 100644
(file)
--- a/
libs/midi++2/port.cc
+++ b/
libs/midi++2/port.cc
@@
-143,12
+143,12
@@
XMLNode&
Port::get_state () const
{
XMLNode* root = new XMLNode (state_node_name);
- root->
add
_property ("tag", _tagname);
+ root->
set
_property ("tag", _tagname);
if (_flags == IsInput) {
- root->
add
_property ("mode", "input");
+ root->
set
_property ("mode", "input");
} else {
- root->
add
_property ("mode", "output");
+ root->
set
_property ("mode", "output");
}
#if 0