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-use.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/sp-use.cpp') diff --git a/src/sp-use.cpp b/src/sp-use.cpp index 5e3c7ee10..76930086c 100644 --- a/src/sp-use.cpp +++ b/src/sp-use.cpp @@ -44,7 +44,7 @@ static void sp_use_class_init(SPUseClass *classname); static void sp_use_init(SPUse *use); static void sp_use_finalize(GObject *obj); -static void sp_use_build(SPObject *object, Document *document, Inkscape::XML::Node *repr); +static void sp_use_build(SPObject *object, SPDocument *document, Inkscape::XML::Node *repr); static void sp_use_release(SPObject *object); static void sp_use_set(SPObject *object, unsigned key, gchar const *value); static Inkscape::XML::Node *sp_use_write(SPObject *object, Inkscape::XML::Document *doc, Inkscape::XML::Node *repr, guint flags); @@ -154,7 +154,7 @@ sp_use_finalize(GObject *obj) } static void -sp_use_build(SPObject *object, Document *document, Inkscape::XML::Node *repr) +sp_use_build(SPObject *object, SPDocument *document, Inkscape::XML::Node *repr) { if (((SPObjectClass *) parent_class)->build) { (* ((SPObjectClass *) parent_class)->build)(object, document, repr); @@ -666,7 +666,7 @@ sp_use_unlink(SPUse *use) if (!repr) return NULL; Inkscape::XML::Node *parent = sp_repr_parent(repr); - Document *document = SP_OBJECT(use)->document; + SPDocument *document = SP_OBJECT(use)->document; Inkscape::XML::Document *xml_doc = sp_document_repr_doc(document); // Track the ultimate source of a chain of uses. -- cgit v1.2.3