From: ishmal Date: Mon, 10 Mar 2008 05:09:17 +0000 (+0000) Subject: Put /bind references back in X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d009aadb6bfd7b2a6fb927d393ea99eef80e408d;p=inkscape.git Put /bind references back in --- 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 }