summaryrefslogtreecommitdiffstats
path: root/src/xml/simple-document.h
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2007-01-25 04:07:20 +0000
committermental <mental@users.sourceforge.net>2007-01-25 04:07:20 +0000
commitccd951a0896e15fb0c1e0324438dac149707a36b (patch)
treeccd0876ee3439e6b0d26df31ec92d28bc242c276 /src/xml/simple-document.h
parentremove sp_repr_new use from document creation (diff)
downloadinkscape-ccd951a0896e15fb0c1e0324438dac149707a36b.tar.gz
inkscape-ccd951a0896e15fb0c1e0324438dac149707a36b.zip
eliminate last uses of sp_repr_new*
(bzr r2283)
Diffstat (limited to 'src/xml/simple-document.h')
-rw-r--r--src/xml/simple-document.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xml/simple-document.h b/src/xml/simple-document.h
index c8ee4d9b4..11d0ef4a2 100644
--- a/src/xml/simple-document.h
+++ b/src/xml/simple-document.h
@@ -29,8 +29,8 @@ class SimpleDocument : public SimpleNode,
public NodeObserver
{
public:
- explicit SimpleDocument(int code)
- : SimpleNode(code), _in_transaction(false)
+ explicit SimpleDocument()
+ : SimpleNode(g_quark_from_static_string("xml")), _in_transaction(false)
{
_initBindings();
}