summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1ecf65a)
raw | patch | inline | side by side (parent: 1ecf65a)
author | ishmal <ishmal@users.sourceforge.net> | |
Thu, 1 Jun 2006 06:27:04 +0000 (06:27 +0000) | ||
committer | ishmal <ishmal@users.sourceforge.net> | |
Thu, 1 Jun 2006 06:27:04 +0000 (06:27 +0000) |
src/extension/implementation/script.cpp | patch | blob | history | |
src/extension/implementation/script.h | patch | blob | history |
index 11544463dd11021e10ad0b3921d1df5c6f8f045a..77e1c7544edc7e4ea241d5c8515eea3525dafb9e 100644 (file)
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;
}
}
*/
Gtk::Widget *
Script::prefs_input(Inkscape::Extension::Input *module,
- const Glib::ustring &filename)
+ const gchar *filename)
{
/*return module->autogui(); */
return NULL;
*/
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
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);
index 98c4a9fef39acd7fcea501a0662f4d8197ce9897..dd8a0e6ee6e7e0fa9a024023501a792e84656686 100644 (file)
*
*/
virtual Gtk::Widget *prefs_input(Inkscape::Extension::Input *module,
- const Glib::ustring &filename);
-
+ gchar const *filename);
/**
*
*/
virtual SPDocument *open(Inkscape::Extension::Input *module,
- const Glib::ustring &filename);
+ gchar const *filename);
/**
*
*/
virtual void save(Inkscape::Extension::Output *module,
SPDocument *doc,
- const Glib::ustring &filename);
+ gchar const *filename);
/**
*
*/