diff options
| author | Bob Jamison <ishmalius@gmail.com> | 2008-05-04 17:04:55 +0000 |
|---|---|---|
| committer | ishmal <ishmal@users.sourceforge.net> | 2008-05-04 17:04:55 +0000 |
| commit | 1265ff060a083a0f4d2220628df5f1bc6f1817a4 (patch) | |
| tree | 8b40a5c42438b696f646af61be6a892d821f9a80 /src/bind | |
| parent | Remove warnings (diff) | |
| download | inkscape-1265ff060a083a0f4d2220628df5f1bc6f1817a4.tar.gz inkscape-1265ff060a083a0f4d2220628df5f1bc6f1817a4.zip | |
Remove warnings
(bzr r5603)
Diffstat (limited to 'src/bind')
| -rw-r--r-- | src/bind/javabind.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/bind/javabind.cpp b/src/bind/javabind.cpp index fe9cff4df..af287dc7e 100644 --- a/src/bind/javabind.cpp +++ b/src/bind/javabind.cpp @@ -732,11 +732,14 @@ jstring JNICALL documentGet(JNIEnv *env, jobject /*obj*/, jlong /*ptr*/) * 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; } /** @@ -856,6 +859,7 @@ bool JavaBinderyImpl::showConsole() 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; } |
