summaryrefslogtreecommitdiffstats
path: root/src/xml/simple-document.h
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2008-06-08 20:42:25 +0000
committermental <mental@users.sourceforge.net>2008-06-08 20:42:25 +0000
commit4ab15362ef6bfffc2dfa2106f936eb6b48b19c68 (patch)
treec7599d8db79e43efe22edbf83afe15c6ffc5a805 /src/xml/simple-document.h
parentplumb document references a little deeper in (diff)
downloadinkscape-4ab15362ef6bfffc2dfa2106f936eb6b48b19c68.tar.gz
inkscape-4ab15362ef6bfffc2dfa2106f936eb6b48b19c68.zip
force single single document over a node's lifetime
(bzr r5862)
Diffstat (limited to 'src/xml/simple-document.h')
-rw-r--r--src/xml/simple-document.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xml/simple-document.h b/src/xml/simple-document.h
index 9b3157add..f2648e188 100644
--- a/src/xml/simple-document.h
+++ b/src/xml/simple-document.h
@@ -30,7 +30,7 @@ class SimpleDocument : public SimpleNode,
{
public:
explicit SimpleDocument()
- : SimpleNode(g_quark_from_static_string("xml"), NULL),
+ : SimpleNode(g_quark_from_static_string("xml"), this),
_in_transaction(false)
{
_initBindings();