summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b13f78e)
raw | patch | inline | side by side (parent: b13f78e)
author | ozmikepittman <ozmikepittman@users.sourceforge.net> | |
Thu, 22 May 2008 16:31:22 +0000 (16:31 +0000) | ||
committer | ozmikepittman <ozmikepittman@users.sourceforge.net> | |
Thu, 22 May 2008 16:31:22 +0000 (16:31 +0000) |
src/text-chemistry.cpp | patch | blob | history |
diff --git a/src/text-chemistry.cpp b/src/text-chemistry.cpp
index 3a100a6fe7cf952e26bddf36c5010219effbbeca..0eeac8c4f7c3008a9471f2a3e1cd0651703d1d42 100644 (file)
--- a/src/text-chemistry.cpp
+++ b/src/text-chemistry.cpp
did = true;
Inkscape::XML::Node *parent = SP_OBJECT_REPR(item)->parent();
- parent->appendChild(repr);
+ parent->addChild(repr, SP_OBJECT_REPR(item));
SPItem *new_item = (SPItem *) sp_desktop_document(desktop)->getObjectByRepr(repr);
sp_item_write_transform(new_item, repr, item->transform);