diff options
Diffstat (limited to 'src/extension/implementation/script.cpp')
| -rw-r--r-- | src/extension/implementation/script.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/extension/implementation/script.cpp b/src/extension/implementation/script.cpp index 11544463d..77e1c7544 100644 --- a/src/extension/implementation/script.cpp +++ b/src/extension/implementation/script.cpp @@ -127,7 +127,7 @@ resolveInterpreterExecutable(const Glib::ustring &interpNameArg) if (stat(interpPath .c_str(), &finfo) ==0) { g_message("Found local interpreter, '%s', Size: %d", interpPath .c_str(), - finfo.st_size); + (int)finfo.st_size); return interpPath; } } @@ -441,7 +441,7 @@ Script::check(Inkscape::Extension::Extension *module) */ Gtk::Widget * Script::prefs_input(Inkscape::Extension::Input *module, - const Glib::ustring &filename) + const gchar *filename) { /*return module->autogui(); */ return NULL; @@ -514,9 +514,11 @@ Script::prefs_effect(Inkscape::Extension::Effect *module, */ SPDocument * Script::open(Inkscape::Extension::Input *module, - const Glib::ustring &filename) + const gchar *filenameArg) { + Glib::ustring filename = filenameArg; + gchar *tmpname; // FIXME: process the GError instead of passing NULL @@ -604,9 +606,11 @@ Script::open(Inkscape::Extension::Input *module, void Script::save(Inkscape::Extension::Output *module, SPDocument *doc, - const Glib::ustring &filename) + const gchar *filenameArg) { + Glib::ustring filename = filenameArg; + gchar *tmpname; // FIXME: process the GError instead of passing NULL gint tempfd = g_file_open_tmp("ink_ext_XXXXXX", &tmpname, NULL); |
