Code

Make curvature work again by fixing a minor omission
[inkscape.git] / src / sp-script.cpp
index d495ac51fdb7ee0b814d66e9d4f0b57837923773..a4013245003c339ea3b91e47e177921cdfae84e7 100644 (file)
@@ -23,7 +23,7 @@ static void sp_script_release(SPObject *object);
 static void sp_script_update(SPObject *object, SPCtx *ctx, guint flags);
 static void sp_script_modified(SPObject *object, guint flags);
 static void sp_script_set(SPObject *object, unsigned int key, gchar const *value);
-static void sp_script_build(SPObject *object, Document *document, Inkscape::XML::Node *repr);
+static void sp_script_build(SPObject *object, SPDocument *document, Inkscape::XML::Node *repr);
 static Inkscape::XML::Node *sp_script_write(SPObject *object, Inkscape::XML::Document *doc, Inkscape::XML::Node *repr, guint flags);
 
 static SPObjectClass *parent_class;
@@ -76,7 +76,7 @@ static void sp_script_init(SPScript */*script*/)
  * sp-object-repr.cpp's repr_name_entries array.
  */
 static void
-sp_script_build(SPObject *object, Document *document, Inkscape::XML::Node *repr)
+sp_script_build(SPObject *object, SPDocument *document, Inkscape::XML::Node *repr)
 {
     if (((SPObjectClass *) parent_class)->build) {
         ((SPObjectClass *) parent_class)->build(object, document, repr);