From 772c1ce609540dbb405286f2b903b3c723a036b4 Mon Sep 17 00:00:00 2001 From: Bob Jamison Date: Mon, 31 Mar 2008 19:32:04 +0000 Subject: Move script dialog from gtkmm to jvm (bzr r5272) --- src/extension/script/InkscapeScript.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/extension/script/InkscapeScript.cpp') diff --git a/src/extension/script/InkscapeScript.cpp b/src/extension/script/InkscapeScript.cpp index 1507c6344..d492cb100 100644 --- a/src/extension/script/InkscapeScript.cpp +++ b/src/extension/script/InkscapeScript.cpp @@ -107,16 +107,16 @@ bool InkscapeScript::interpretScript(const Glib::ustring &script, parm.setString(script); parms.push_back(parm); - binder->stdOutClear(); - binder->stdErrClear(); + //binder->stdOutClear(); + //binder->stdErrClear(); bool ret = binder->callStatic(Value::BIND_BOOLEAN, "org/inkscape/cmn/ScriptRunner", "run", "(Ljava/lang/String;Ljava/lang/String;)Z", parms, retval); - output = binder->stdOutGet(); - error = binder->stdErrGet(); + //output = binder->stdOutGet(); + //error = binder->stdErrGet(); if (!ret) { @@ -175,16 +175,16 @@ bool InkscapeScript::interpretFile(const Glib::ustring &fname, parm.setString(fname); parms.push_back(parm); - binder->stdOutClear(); - binder->stdErrClear(); + //binder->stdOutClear(); + //binder->stdErrClear(); bool ret = binder->callStatic(Value::BIND_BOOLEAN, "org/inkscape/cmn/ScriptRunner", "runFile", "(Ljava/lang/String;Ljava/lang/String;)Z", parms, retval); - output = binder->stdOutGet(); - error = binder->stdErrGet(); + //output = binder->stdOutGet(); + //error = binder->stdErrGet(); if (!ret) { -- cgit v1.2.3