diff options
author | Mark Wielaard <mark@klomp.org> | 2005-07-04 18:07:43 +0000 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2005-07-04 18:07:43 +0000 |
commit | 5814cc97533a76b4cd04967e3f8670a492810580 (patch) | |
tree | ad6444ff322f7dac31b7830e348a61d1ef447f11 /include | |
parent | ee5373c27ef843e3c3b0e9cc07bb5bebc091e84c (diff) | |
download | classpath-5814cc97533a76b4cd04967e3f8670a492810580.tar.gz |
* gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (initialized):
Remove unused field.
(needsClose): New private field.
(finish): Take needsClose boolean argument.
(finalize): Call finish with needsClose.
(produce): Set needsClose.
* include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h: Regenerated.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
(Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish): Only close
when needed.
Diffstat (limited to 'include')
-rw-r--r-- | include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h b/include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h index 2e6999e61..6f30a3c5b 100644 --- a/include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h +++ b/include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h @@ -14,7 +14,7 @@ JNIEXPORT void JNICALL Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initStaticSta JNIEXPORT void JNICALL Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initState (JNIEnv *env, jobject); JNIEXPORT void JNICALL Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes (JNIEnv *env, jobject, jbyteArray, jint); JNIEXPORT void JNICALL Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone (JNIEnv *env, jobject); -JNIEXPORT void JNICALL Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish (JNIEnv *env, jobject); +JNIEXPORT void JNICALL Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish (JNIEnv *env, jobject, jboolean); JNIEXPORT void JNICALL Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage (JNIEnv *env, jclass, jintArray, jstring, jint, jint, jboolean, jobject); #ifdef __cplusplus |