X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fsp-tref.cpp;h=83f9ecfa6e3cf2f8a1b9d98a432789fa7449c3a2;hb=58088e3477232b7af917f0a7a9b7bde3b93b764d;hp=5323cde846df9189fd8c9c5327d9ab2a0b4f1224;hpb=b45b3ca12c271745b18a142d10a6ac8efd9f79cc;p=inkscape.git diff --git a/src/sp-tref.cpp b/src/sp-tref.cpp index 5323cde84..83f9ecfa6 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, Document *document, Inkscape::XML::Node *repr); +static void sp_tref_build(SPObject *object, SPDocument *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, Document *document, Inkscape::XML::Node *repr) +sp_tref_build(SPObject *object, SPDocument *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); - Document *document = SP_OBJECT(tref)->document; + SPDocument *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");