Fix stub LV2 persist implementation.
[ardour.git] / libs / ardour / audio_track_importer.cc
index c5a584a7f4ec604726b14fc734d0362789d811e1..b29384b2010cb9e2a4f2974d9a349f7d5815ac3d 100644 (file)
@@ -91,7 +91,7 @@ AudioTrackImporter::AudioTrackImporter (XMLTree const & source,
                throw failed_constructor();
        }
 
-       XMLNodeList const & controllables = node.children ("Controllable");
+       XMLNodeList const & controllables = node.children (Controllable::xml_node_name);
        for (XMLNodeList::const_iterator it = controllables.begin(); it != controllables.end(); ++it) {
                parse_controllable (**it);
        }
@@ -197,7 +197,7 @@ AudioTrackImporter::parse_io ()
                return false;
        }
 
-       XMLNodeList const & controllables = io->children ("Controllable");
+       XMLNodeList const & controllables = io->children (Controllable::xml_node_name);
        for (XMLNodeList::const_iterator it = controllables.begin(); it != controllables.end(); ++it) {
                parse_controllable (**it);
        }