Code

Connector tool: make connectors avoid the convex hull of shapes.
[inkscape.git] / src / sp-anchor.cpp
index ec1b4e53f38b96113c24654ca681fd8d851f7913..aabefdfdb4cfe14d87607bd310b746fcad061e11 100644 (file)
@@ -29,7 +29,7 @@
 static void sp_anchor_class_init(SPAnchorClass *ac);
 static void sp_anchor_init(SPAnchor *anchor);
 
-static void sp_anchor_build(SPObject *object, Document *document, Inkscape::XML::Node *repr);
+static void sp_anchor_build(SPObject *object, SPDocument *document, Inkscape::XML::Node *repr);
 static void sp_anchor_release(SPObject *object);
 static void sp_anchor_set(SPObject *object, unsigned int key, const gchar *value);
 static Inkscape::XML::Node *sp_anchor_write(SPObject *object, Inkscape::XML::Document *doc, Inkscape::XML::Node *repr, guint flags);
@@ -83,7 +83,7 @@ static void sp_anchor_init(SPAnchor *anchor)
     anchor->href = NULL;
 }
 
-static void sp_anchor_build(SPObject *object, Document *document, Inkscape::XML::Node *repr)
+static void sp_anchor_build(SPObject *object, SPDocument *document, Inkscape::XML::Node *repr)
 {
     if (((SPObjectClass *) (parent_class))->build) {
         ((SPObjectClass *) (parent_class))->build(object, document, repr);