projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe577dc
)
Use XMLNode::set_property API in PBD::MementoCommand class
author
Tim Mayberry
<mojofunk@gmail.com>
Sun, 28 Aug 2016 13:04:47 +0000
(23:04 +1000)
committer
Tim Mayberry
<mojofunk@gmail.com>
Tue, 18 Apr 2017 23:36:48 +0000
(09:36 +1000)
libs/pbd/pbd/memento_command.h
patch
|
blob
|
history
diff --git
a/libs/pbd/pbd/memento_command.h
b/libs/pbd/pbd/memento_command.h
index b6e0bc9cf32a7cad61994dedf3ca7542cff7dd93..7825b2bbb5b4c9910f979511a3c232b8cd0eead9 100644
(file)
--- a/
libs/pbd/pbd/memento_command.h
+++ b/
libs/pbd/pbd/memento_command.h
@@
-82,7
+82,7
@@
public:
}
void add_state (XMLNode* node) {
- node->
add
_property ("obj_id", _object.id().to_s());
+ node->
set
_property ("obj_id", _object.id().to_s());
}
void object_died () {
@@
-153,7
+153,7
@@
public:
XMLNode* node = new XMLNode(name);
_binder->add_state (node);
- node->
add
_property ("type_name", _binder->type_name ());
+ node->
set
_property ("type_name", _binder->type_name ());
if (before) {
node->add_child_copy(*before);