summaryrefslogtreecommitdiffstats
path: root/src/sp-use.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2009-08-06 14:17:17 +0000
committercilix42 <cilix42@users.sourceforge.net>2009-08-06 14:17:17 +0000
commit51c2905fd3e99955db2d823b79abb763d8097028 (patch)
tree90128509479f5498e1125d1e4eb9cdc05bf6b6e6 /src/sp-use.cpp
parentAdding one more control to Smart Jelly (diff)
downloadinkscape-51c2905fd3e99955db2d823b79abb763d8097028.tar.gz
inkscape-51c2905fd3e99955db2d823b79abb763d8097028.zip
Revert recent refactoring changes by johnce because they break the build, which cannot be fixed easily.
(bzr r8422)
Diffstat (limited to 'src/sp-use.cpp')
-rw-r--r--src/sp-use.cpp6
1 files changed, 3 insertions, 3 deletions
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.