summaryrefslogtreecommitdiffstats
path: root/src/sp-tref.cpp
diff options
context:
space:
mode:
authorjohnce <johnce@users.sourceforge.net>2009-08-05 05:40:36 +0000
committerjohnce <johnce@users.sourceforge.net>2009-08-05 05:40:36 +0000
commit8b04d0db6c55e36935690d37defb6f9b68945796 (patch)
tree3909eb7f8201b43f6a4dcfcc854eda2fbc72b17e /src/sp-tref.cpp
parentScour extension added to Makefile.am and POTFILE.in (inkscape.pot updated). (diff)
downloadinkscape-8b04d0db6c55e36935690d37defb6f9b68945796.tar.gz
inkscape-8b04d0db6c55e36935690d37defb6f9b68945796.zip
SPDocument->Document
(bzr r8404)
Diffstat (limited to 'src/sp-tref.cpp')
-rw-r--r--src/sp-tref.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sp-tref.cpp b/src/sp-tref.cpp
index 83f9ecfa6..5323cde84 100644
--- a/src/sp-tref.cpp
+++ b/src/sp-tref.cpp
@@ -58,7 +58,7 @@ static void sp_tref_class_init(SPTRefClass *tref_class);
static void sp_tref_init(SPTRef *tref);
static void sp_tref_finalize(GObject *obj);
-static void sp_tref_build(SPObject *object, SPDocument *document, Inkscape::XML::Node *repr);
+static void sp_tref_build(SPObject *object, Document *document, Inkscape::XML::Node *repr);
static void sp_tref_release(SPObject *object);
static void sp_tref_set(SPObject *object, unsigned int key, gchar const *value);
static void sp_tref_update(SPObject *object, SPCtx *ctx, guint flags);
@@ -148,7 +148,7 @@ sp_tref_finalize(GObject *obj)
* Reads the Inkscape::XML::Node, and initializes SPTRef variables.
*/
static void
-sp_tref_build(SPObject *object, SPDocument *document, Inkscape::XML::Node *repr)
+sp_tref_build(SPObject *object, Document *document, Inkscape::XML::Node *repr)
{
if (((SPObjectClass *) tref_parent_class)->build) {
((SPObjectClass *) tref_parent_class)->build(object, document, repr);
@@ -585,7 +585,7 @@ sp_tref_convert_to_tspan(SPObject *obj)
Inkscape::XML::Node *tref_repr = SP_OBJECT_REPR(tref);
Inkscape::XML::Node *tref_parent = sp_repr_parent(tref_repr);
- SPDocument *document = SP_OBJECT(tref)->document;
+ Document *document = SP_OBJECT(tref)->document;
Inkscape::XML::Document *xml_doc = sp_document_repr_doc(document);
Inkscape::XML::Node *new_tspan_repr = xml_doc->createElement("svg:tspan");