diff --git a/src/document-private.h b/src/document-private.h
index 1c03a8025d44ec3a9349bc14a648aefc82c9d444..61e6bad67beff4b1f69070662badafd0b7949af0 100644 (file)
--- a/src/document-private.h
+++ b/src/document-private.h
-#ifndef __SP_DOCUMENT_PRIVATE_H__
-#define __SP_DOCUMENT_PRIVATE_H__
+#ifndef SEEN_SP_DOCUMENT_PRIVATE_H
+#define SEEN_SP_DOCUMENT_PRIVATE_H
/*
* Seldom needed document data
*
* Authors:
* Lauris Kaplinski <lauris@kaplinski.com>
+ * Jon A. Cruz <jon@joncruz.org>
*
* Copyright (C) 1999-2002 Lauris Kaplinski
* Copyright (C) 2001-2002 Ximian, Inc.
// XXX only for testing!
#include "console-output-undo-observer.h"
-#define SP_DOCUMENT_DEFS(d) ((SPObject *) SP_ROOT (SP_DOCUMENT_ROOT (d))->defs)
+#define SP_DOCUMENT_DEFS(d) ((SPObject *) SP_ROOT(d->getRoot())->defs)
namespace Inkscape {
namespace XML {
GHashTable *iddef; /**< Dictionary of id -> SPObject mappings */
GHashTable *reprdef; /**< Dictionary of Inkscape::XML::Node -> SPObject mappings */
+ unsigned long serial;
+
/** Dictionary of signals for id changes */
IDChangedSignalMap id_changed_signals;
bool seeking;
};
-#endif
+#endif // SEEN_SP_DOCUMENT_PRIVATE_H