~danieljabailey/inkscape/arc_node_editor

« back to all changes in this revision

Viewing changes to src/sp-root.cpp

  • Committer: Daniel Bailey
  • Date: 2016-07-09 13:51:59 UTC
  • mfrom: (14888.1.126 inkscape)
  • Revision ID: d@nielbailey.com-20160709135159-0wzbtr0mvmxnjtj0
MergeĀ upstreamĀ changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
313
313
        repr = xml_doc->createElement("svg:svg");
314
314
    }
315
315
 
316
 
    if (flags & SP_OBJECT_WRITE_EXT) {
317
 
        repr->setAttribute("inkscape:version", Inkscape::version_string);
318
 
    }
 
316
    /* Only update version string on successful write to file. This is handled by 'file_save()'.
 
317
     * if (flags & SP_OBJECT_WRITE_EXT) {
 
318
     *   repr->setAttribute("inkscape:version", Inkscape::version_string);
 
319
     * }
 
320
     */
319
321
 
320
322
    if (!repr->attribute("version")) {
321
323
        gchar *myversion = sp_version_to_string(this->version.svg);