summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 733ea6f)
raw | patch | inline | side by side (parent: 733ea6f)
author | ishmal <ishmal@users.sourceforge.net> | |
Sun, 4 May 2008 17:04:55 +0000 (17:04 +0000) | ||
committer | ishmal <ishmal@users.sourceforge.net> | |
Sun, 4 May 2008 17:04:55 +0000 (17:04 +0000) |
src/bind/javabind.cpp | patch | blob | history |
diff --git a/src/bind/javabind.cpp b/src/bind/javabind.cpp
index fe9cff4df1ef236f8e4c89ad9bb76331a34e3fe6..af287dc7ecbfccd73a594be9a6af0825901cc535 100644 (file)
--- a/src/bind/javabind.cpp
+++ b/src/bind/javabind.cpp
* This is provided to scripts can load an XML tree into Inkscape.
* If anyone has a smarter way of doing this, please implement.
*/
-jboolean JNICALL documentSet(JNIEnv *env, jobject /*obj*/, jlong /*ptr*/, jstring jstr)
+jboolean JNICALL documentSet(JNIEnv *env, jobject /*obj*/, jlong /*ptr*/, jstring /*jstr*/)
{
- //JavaBinderyImpl *bind = (JavaBinderyImpl *)ptr;
+ /*
+ JavaBinderyImpl *bind = (JavaBinderyImpl *)ptr;
String s = getString(env, jstr);
SPDocument *doc = sp_document_new_from_mem(s.c_str(), s.size(), true);
+ */
+ return JNI_TRUE;
}
/**
static int JNICALL vfprintfHook(FILE* /*f*/, const char *fmt, va_list args)
{
g_logv(G_LOG_DOMAIN, G_LOG_LEVEL_MESSAGE, fmt, args);
+ return JNI_TRUE;
}