X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fextension%2Fimplementation%2Fscript.cpp;h=a244e9abbbb30c32c55ebb68740077dffae28145;hb=b949b7ecee708059c921bb8afdd1c5461026bc66;hp=dbfd685dd0319c943e6bf08bfabb03220ef5da37;hpb=1c9da5b87484b8b0ae5b6bce141ee9c4ff8d14ad;p=inkscape.git diff --git a/src/extension/implementation/script.cpp b/src/extension/implementation/script.cpp index dbfd685dd..a244e9abb 100644 --- a/src/extension/implementation/script.cpp +++ b/src/extension/implementation/script.cpp @@ -11,6 +11,23 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ +/* +TODO: +FIXME: + After Inkscape makes a formal requirement for a GTK version above 2.11.4, please + replace all the instances of ink_ext_XXXXXX in this file that represent + svg files with ink_ext_XXXXXX.svg . Doing so will prevent errors in extensions + that call inkscape to manipulate the file. + + "** (inkscape:5848): WARNING **: Format autodetect failed. The file is being opened as SVG." + + references: + http://www.gtk.org/api/2.6/glib/glib-File-Utilities.html#g-mkstemp + http://ftp.gnome.org/pub/gnome/sources/glib/2.11/glib-2.11.4.changes + http://developer.gnome.org/doc/API/2.0/glib/glib-File-Utilities.html#g-mkstemp + + --Aaron Spike +*/ #define __INKSCAPE_EXTENSION_IMPLEMENTATION_SCRIPT_C__ #ifdef HAVE_CONFIG_H @@ -675,7 +692,7 @@ Script::save(Inkscape::Extension::Output *module, This function is a little bit trickier than the previous two. It needs two temporary files to get it's work done. Both of these files have random names created for them using the g_file_open_temp function - with the sp_ext_ prefix in the temporary directory. Like the other + with the ink_ext_ prefix in the temporary directory. Like the other functions, the temporary files are deleted at the end. To save/load the two temporary documents (both are SVG) the internal