summaryrefslogtreecommitdiff
path: root/tests/registry.c
diff options
context:
space:
mode:
authorRichard Boulton <richard@tartarus.org>2001-01-18 15:29:46 +0000
committerRichard Boulton <richard@tartarus.org>2001-01-18 15:29:46 +0000
commit82769bcae982c7953921915dfc11396d0c45af97 (patch)
tree80a6ef7fea17e45c6615ff864fcbf6d3b7443b07 /tests/registry.c
parent41ebd85275c3c8e7fcc050d36c9f7831e452fac5 (diff)
Some more fixes for libxml.
Original commit message from CVS: Some more fixes for libxml. Also, some code formatting changes in esdsink, some further fixes to vumeter, and some work on synaesthesia to make it closer to working (it doesn't fully work yet, though. :( )
Diffstat (limited to 'tests/registry.c')
-rw-r--r--tests/registry.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/registry.c b/tests/registry.c
index 81de368cdc..804df82302 100644
--- a/tests/registry.c
+++ b/tests/registry.c
@@ -42,13 +42,13 @@ dump_factory (gchar *name)
xmlDocPtr doc;
doc = xmlNewDoc ("1.0");
- doc->root = xmlNewDocNode (doc, NULL, "templates", NULL);
+ doc->xmlRootNode = xmlNewDocNode (doc, NULL, "templates", NULL);
while (padtemplates) {
xmlNodePtr parent;
GstPadTemplate *template = (GstPadTemplate *) padtemplates->data;
- parent = xmlNewChild (doc->root, NULL, "template", NULL);
+ parent = xmlNewChild (doc->xmlRootNode, NULL, "template", NULL);
gst_padtemplate_save_thyself (template, parent);