summaryrefslogtreecommitdiffstats
path: root/src/xml/simple-document.h
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2008-07-01 19:13:12 +0000
committermental <mental@users.sourceforge.net>2008-07-01 19:13:12 +0000
commitd9910a065c5fde12a75d1be34ea16df3e28adda0 (patch)
treea4e22d6ec336112373afb0885b9e743ee9df6047 /src/xml/simple-document.h
parentCxxTest unit tests can now be built on Windows, also adds CxxTest versions of... (diff)
downloadinkscape-d9910a065c5fde12a75d1be34ea16df3e28adda0.tar.gz
inkscape-d9910a065c5fde12a75d1be34ea16df3e28adda0.zip
remove last traces of "floating nodes"
(bzr r6107)
Diffstat (limited to 'src/xml/simple-document.h')
-rw-r--r--src/xml/simple-document.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/xml/simple-document.h b/src/xml/simple-document.h
index f2648e188..504be8248 100644
--- a/src/xml/simple-document.h
+++ b/src/xml/simple-document.h
@@ -31,10 +31,7 @@ class SimpleDocument : public SimpleNode,
public:
explicit SimpleDocument()
: SimpleNode(g_quark_from_static_string("xml"), this),
- _in_transaction(false)
- {
- _initBindings();
- }
+ _in_transaction(false) {}
NodeType type() const { return Inkscape::XML::DOCUMENT_NODE; }
@@ -70,10 +67,7 @@ public:
protected:
SimpleDocument(SimpleDocument const &doc)
: Node(), SimpleNode(doc), Document(), NodeObserver(),
- _in_transaction(false)
- {
- _initBindings();
- }
+ _in_transaction(false) {}
SimpleNode *_duplicate(Document* /*doc*/) const
{
@@ -81,8 +75,6 @@ protected:
}
private:
- void _initBindings();
-
bool _in_transaction;
LogBuilder _log_builder;
};