summaryrefslogtreecommitdiffstats
path: root/src/forward.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/forward.h')
-rw-r--r--src/forward.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/forward.h b/src/forward.h
index 4ac08c126..d4a98fbff 100644
--- a/src/forward.h
+++ b/src/forward.h
@@ -20,10 +20,6 @@
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 ();