From 51c2905fd3e99955db2d823b79abb763d8097028 Mon Sep 17 00:00:00 2001 From: Maximilian Albert Date: Thu, 6 Aug 2009 14:17:17 +0000 Subject: Revert recent refactoring changes by johnce because they break the build, which cannot be fixed easily. (bzr r8422) --- src/sp-script.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sp-script.cpp') diff --git a/src/sp-script.cpp b/src/sp-script.cpp index d495ac51f..a40132450 100644 --- a/src/sp-script.cpp +++ b/src/sp-script.cpp @@ -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); -- cgit v1.2.3