From d009aadb6bfd7b2a6fb927d393ea99eef80e408d Mon Sep 17 00:00:00 2001 From: ishmal Date: Mon, 10 Mar 2008 05:09:17 +0000 Subject: [PATCH] Put /bind references back in --- src/extension/script/InkscapeScript.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/extension/script/InkscapeScript.cpp b/src/extension/script/InkscapeScript.cpp index 4a880160a..138c8cb7e 100644 --- a/src/extension/script/InkscapeScript.cpp +++ b/src/extension/script/InkscapeScript.cpp @@ -71,7 +71,6 @@ bool InkscapeScript::interpretScript(const Glib::ustring &script, Glib::ustring &error, ScriptLanguage language) { -#if USE_JAVA const char *langname=NULL; //if() instead of switch() lets us scope vars if (language == InkscapeScript::JAVASCRIPT) @@ -126,9 +125,6 @@ bool InkscapeScript::interpretScript(const Glib::ustring &script, } return true; -#else // USE_JAVA - return false; -#endif // USE_JAVA } @@ -143,7 +139,6 @@ bool InkscapeScript::interpretFile(const Glib::ustring &fname, Glib::ustring &error, ScriptLanguage language) { -#if USE_JAVA const char *langname=NULL; //if() instead of switch() lets us scope vars if (language == InkscapeScript::JAVASCRIPT) @@ -198,9 +193,6 @@ bool InkscapeScript::interpretFile(const Glib::ustring &fname, } return true; -#else // USE_JAVA - return false; -#endif // USE_JAVA } -- 2.30.2