Code

Make linked offsets respect "Relink duplicated clones" settings
[inkscape.git] / src / forward.h
index 4ac08c12689f69c9ebdadb68373ad2300d60cba1..d4a98fbff915016f7c4b14e848307406fecccffe 100644 (file)
 namespace Inkscape {
 struct Application;
 struct ApplicationClass;
-namespace XML {
-class Document;
-class DocumentTree;
-}
 }
 
 /* Editing window */
@@ -47,10 +43,11 @@ GType sp_event_context_get_type ();
 
 /* Document tree */
 
+class SPDocument;
 class SPDocumentClass;
 
 #define SP_TYPE_DOCUMENT (sp_document_get_type ())
-#define SP_DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SP_TYPE_DOCUMENT, Document))
+#define SP_DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SP_TYPE_DOCUMENT, SPDocument))
 #define SP_IS_DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SP_TYPE_DOCUMENT))
 
 GType sp_document_get_type ();