projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9587e11
)
Use XMLNode::set_property API in PBD::StatefulDiffCommand class
author
Tim Mayberry
<mojofunk@gmail.com>
Sun, 28 Aug 2016 12:56:44 +0000
(22:56 +1000)
committer
Tim Mayberry
<mojofunk@gmail.com>
Tue, 18 Apr 2017 23:36:48 +0000
(09:36 +1000)
libs/pbd/stateful_diff_command.cc
patch
|
blob
|
history
diff --git
a/libs/pbd/stateful_diff_command.cc
b/libs/pbd/stateful_diff_command.cc
index 5721b58fd0382d878c693d2903b551bd5f8beb41..e3a65ffc12c69f5551c5d10fc9d7353ffd199056 100644
(file)
--- a/
libs/pbd/stateful_diff_command.cc
+++ b/
libs/pbd/stateful_diff_command.cc
@@
-18,6
+18,7
@@
*/
#include "pbd/stateful_diff_command.h"
*/
#include "pbd/stateful_diff_command.h"
+#include "pbd/types_convert.h"
#include "pbd/property_list.h"
#include "pbd/demangle.h"
#include "pbd/i18n.h"
#include "pbd/property_list.h"
#include "pbd/demangle.h"
#include "pbd/i18n.h"
@@
-105,8
+106,8
@@
StatefulDiffCommand::get_state ()
XMLNode* node = new XMLNode (X_("StatefulDiffCommand"));
XMLNode* node = new XMLNode (X_("StatefulDiffCommand"));
- node->
add_property ("obj-id", s->id().to_s
());
- node->
add
_property ("type-name", demangled_name (*s.get()));
+ node->
set_property ("obj-id", s->id
());
+ node->
set
_property ("type-name", demangled_name (*s.get()));
XMLNode* changes = new XMLNode (X_("Changes"));
XMLNode* changes = new XMLNode (X_("Changes"));