Code

get rid of sp_repr_document_root and (commented) sp_repr_duplicate
[inkscape.git] / src / xml / repr-action-test.cpp
index 7ab857f4600de5e258da690fe93f43bff8cbe4a0..0e3d8d4a433d365db37fdf4ae7874ed7dc4e64b6 100644 (file)
@@ -12,7 +12,7 @@ int main(int argc, char *argv[]) {
        Inkscape::GC::init();
 
        document = sp_repr_document_new("test");
-       root = sp_repr_document_root(document);
+       root = document->root();
 
        utest_start("XML Transactions");