diff options
| author | MenTaLguY <mental@rydia.net> | 2007-01-20 05:49:10 +0000 |
|---|---|---|
| committer | mental <mental@users.sourceforge.net> | 2007-01-20 05:49:10 +0000 |
| commit | 25634c65d6e34ae67e6249543d81abef9f151d80 (patch) | |
| tree | 0d2943021ed291d1464b466e00012ba2ac4cf99e /src/xml/simple-node.h | |
| parent | Update. (diff) | |
| download | inkscape-25634c65d6e34ae67e6249543d81abef9f151d80.tar.gz inkscape-25634c65d6e34ae67e6249543d81abef9f151d80.zip | |
merge XML::Session into XML::Document
(bzr r2248)
Diffstat (limited to 'src/xml/simple-node.h')
| -rw-r--r-- | src/xml/simple-node.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/xml/simple-node.h b/src/xml/simple-node.h index 367516ee7..7c32ebee6 100644 --- a/src/xml/simple-node.h +++ b/src/xml/simple-node.h @@ -17,7 +17,6 @@ #include "xml/node.h" #include "xml/attribute-record.h" -#include "xml/transaction-logger.h" #include "xml/composite-node-observer.h" #include "util/list-container.h" @@ -29,14 +28,10 @@ class SimpleNode : virtual public Node, public Inkscape::GC::Managed<> { public: - Session *session() { - return ( _logger ? &_logger->session() : NULL ); - } - gchar const *name() const; int code() const { return _name; } void setCodeUnsafe(int code) { - g_assert(_logger == NULL); + g_assert(_document == NULL); _name = code; } @@ -119,7 +114,6 @@ public: // ideally these should be protected somehow... void _setParent(Node *parent) { _parent = parent; } void _setNext(Node *next) { _next = next; } void _bindDocument(Document &document); - void _bindLogger(TransactionLogger &logger); unsigned _childPosition(Node const &child) const; unsigned _cachedPosition() const { return _cached_position; } @@ -133,7 +127,6 @@ private: Node *_parent; Node *_next; Document *_document; - TransactionLogger *_logger; mutable unsigned _cached_position; int _name; |
