From e8b5612f8dbe3cefaf56469320fa12bea9713a1b Mon Sep 17 00:00:00 2001 From: johnce Date: Wed, 5 Aug 2009 18:32:38 +0000 Subject: xml/Document -> DocumentTree (bzr r8417) --- src/arc-context.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/arc-context.cpp') diff --git a/src/arc-context.cpp b/src/arc-context.cpp index e689c93db..835e43a26 100644 --- a/src/arc-context.cpp +++ b/src/arc-context.cpp @@ -25,6 +25,7 @@ #include "display/sp-canvas.h" #include "sp-ellipse.h" #include "document.h" +#include "xml/document.h" #include "sp-namedview.h" #include "selection.h" #include "desktop-handles.h" @@ -403,7 +404,7 @@ static void sp_arc_drag(SPArcContext *ac, Geom::Point pt, guint state) } /* Create object */ - Inkscape::XML::Document *xml_doc = sp_document_repr_doc(desktop->doc()); + Inkscape::XML::DocumentTree *xml_doc = sp_document_repr_doc(desktop->doc()); Inkscape::XML::Node *repr = xml_doc->createElement("svg:path"); repr->setAttribute("sodipodi:type", "arc"); -- cgit v1.2.3