diff --git a/src/forward.h b/src/forward.h
index 4ac08c12689f69c9ebdadb68373ad2300d60cba1..d4a98fbff915016f7c4b14e848307406fecccffe 100644 (file)
--- a/src/forward.h
+++ b/src/forward.h
namespace Inkscape {
struct Application;
struct ApplicationClass;
-namespace XML {
-class Document;
-class DocumentTree;
-}
}
/* Editing window */
/* 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 ();