Code

Merge and cleanup of GSoC C++-ification project.
[inkscape.git] / src / extension / dbus / application-interface.cpp
index b183be93cbf5e367576cd412c83fb34cce932e54..a652b7c969b423daf90a1b2928bc9e262987f438 100644 (file)
@@ -123,7 +123,7 @@ application_interface_document_close_all (ApplicationInterface *object,
     SPDocument *doc = sp_desktop_document(desktop);
     g_assert(doc != NULL);
 
-    Inkscape::XML::Node     *repr = sp_document_repr_root(doc);
+    Inkscape::XML::Node     *repr = doc->getReprRoot();
     g_assert(repr != NULL);
 */