mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 16:24:57 +01:00
Use XMLNode::set_property API in PBD::MementoCommand class
This commit is contained in:
parent
fe577dcbd5
commit
b320ba1aa5
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue