summaryrefslogtreecommitdiffstats
path: root/src/sp-script.cpp
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2017-10-01 21:57:52 +0000
committerMarc Jeanmougin <marc@jeanmougin.fr>2017-10-01 21:57:52 +0000
commitc20891fabc8c3ee2251e0545878e06545b6f0cdd (patch)
treec19727ea5ec4c7fb90b7e4512a3cc5fb89f58945 /src/sp-script.cpp
parentMerge branch 'master' of gitlab.com:inkscape/inkscape (diff)
downloadinkscape-c20891fabc8c3ee2251e0545878e06545b6f0cdd.tar.gz
inkscape-c20891fabc8c3ee2251e0545878e06545b6f0cdd.zip
First batch
Diffstat (limited to 'src/sp-script.cpp')
-rw-r--r--src/sp-script.cpp41
1 files changed, 0 insertions, 41 deletions
diff --git a/src/sp-script.cpp b/src/sp-script.cpp
index bd1ab512b..144c8d76a 100644
--- a/src/sp-script.cpp
+++ b/src/sp-script.cpp
@@ -73,47 +73,6 @@ Inkscape::XML::Node* SPScript::write(Inkscape::XML::Document* /*doc*/, Inkscape:
return repr;
}
-//static Inkscape::XML::Node *sp_script_write(SPObject *object, Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, guint flags)
-//{
-/*
-TODO:
- code copied from sp-defs
- decide what to do here!
-
- if (flags & SP_OBJECT_WRITE_BUILD) {
-
- if (!repr) {
- repr = xml_doc->createElement("svg:script");
- }
-
- GSList *l = NULL;
- for ( SPObject *child = object->firstChild() ; child; child = child->getNext() ) {
- Inkscape::XML::Node *crepr = child->updateRepr(xml_doc, NULL, flags);
- if (crepr) {
- l = g_slist_prepend(l, crepr);
- }
- }
-
- while (l) {
- repr->addChild((Inkscape::XML::Node *) l->data, NULL);
- Inkscape::GC::release((Inkscape::XML::Node *) l->data);
- l = g_slist_remove(l, l->data);
- }
-
- } else {
- for ( SPObject *child = object->firstChild() ; child; child = child->getNext() ) {
- child->updateRepr(flags);
- }
- }
-
- if (((SPObjectClass *) (parent_class))->write) {
- (* ((SPObjectClass *) (parent_class))->write)(object, xml_doc, repr, flags);
- }
-*/
-//
-// return ((SPScript*)object)->cscript->onWrite(xml_doc, repr, flags);
-//}
-
/*
Local Variables:
mode:c++