Remove unused and broken method.

git-svn-id: svn://localhost/ardour2/branches/3.0@7680 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington
2010-08-25 17:31:20 +00:00
parent 3825e3d51c
commit 167c439002

View File

@@ -122,45 +122,8 @@ class SequenceProperty : public PropertyBase
}
bool set_state_from_owner_state (XMLNode const& owner_state) {
XMLProperty const* n = owner_state.property ("name");
if (!n) {
return false;
}
assert (g_quark_from_string (n->value().c_str()) == property_id());
const XMLNodeList& children = owner_state.children();
for (XMLNodeList::const_iterator c = children.begin(); c != children.end(); ++c) {
if ((*c)->name() == "Added") {
const XMLNodeList& grandchildren = (*c)->children();
for (XMLNodeList::const_iterator gc = grandchildren.begin(); gc != grandchildren.end(); ++gc) {
const XMLProperty* prop = (*gc)->property ("id");
if (prop) {
typename Container::value_type v = lookup_id (PBD::ID (prop->value()));
if (v) {
_change.add (v);
}
}
}
} else if ((*c)->name() == "Removed") {
const XMLNodeList& grandchildren = (*c)->children();
for (XMLNodeList::const_iterator gc = grandchildren.begin(); gc != grandchildren.end(); ++gc) {
const XMLProperty* prop = (*gc)->property ("id");
if (prop) {
typename Container::value_type v = lookup_id (PBD::ID (prop->value()));
if (v) {
_change.remove (v);
}
}
}
}
}
return true;
assert (false);
return false;
}
void add_state_to_owner_state (XMLNode& owner_state_node) const {