diff options
author | Mark Wielaard <mark@klomp.org> | 2007-01-03 22:51:07 +0000 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2007-01-03 22:51:07 +0000 |
commit | d4abda4fbba696e2845884445b9cd20e82627c18 (patch) | |
tree | 33432fcc879596902a4e8bd1d02a589d60cb9625 /include | |
parent | 956a1df4a565bc70f1acbfedb89ad8b40a5c7eee (diff) | |
download | classpath-d4abda4fbba696e2845884445b9cd20e82627c18.tar.gz |
2007-01-03 Cameron McCormack <cam@mcc.id.au>
Fixes bug #29246
* java/awt/Toolkit.java (getLockingKeyState): Use AWTUtilities
isValidKey method. Throw UnsupportedOperationException on a valid
key (for which no locking state can be given).
* gnu/java/awt/AWTUtilities.java (isValidKey): New method.
* gnu/java/awt/peer/gtk/GtkToolkit.java (getLockingKeyState): New
method.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
(Java_gnu_java_awt_peer_gtk_GtkToolkit_getLockState): New method.
* include/gnu_java_awt_peer_gtk_GtkToolkit.h: Regenerated.
Diffstat (limited to 'include')
-rw-r--r-- | include/gnu_java_awt_peer_gtk_GtkToolkit.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/gnu_java_awt_peer_gtk_GtkToolkit.h b/include/gnu_java_awt_peer_gtk_GtkToolkit.h index b91d54cdb..a84590cca 100644 --- a/include/gnu_java_awt_peer_gtk_GtkToolkit.h +++ b/include/gnu_java_awt_peer_gtk_GtkToolkit.h @@ -18,6 +18,7 @@ JNIEXPORT void JNICALL Java_gnu_java_awt_peer_gtk_GtkToolkit_getScreenSizeDimens JNIEXPORT jint JNICALL Java_gnu_java_awt_peer_gtk_GtkToolkit_getScreenResolution (JNIEnv *env, jobject); JNIEXPORT void JNICALL Java_gnu_java_awt_peer_gtk_GtkToolkit_sync (JNIEnv *env, jobject); JNIEXPORT void JNICALL Java_gnu_java_awt_peer_gtk_GtkToolkit_loadSystemColors (JNIEnv *env, jobject, jintArray); +JNIEXPORT jint JNICALL Java_gnu_java_awt_peer_gtk_GtkToolkit_getLockState (JNIEnv *env, jobject, jint); JNIEXPORT jint JNICALL Java_gnu_java_awt_peer_gtk_GtkToolkit_getMouseNumberOfButtons (JNIEnv *env, jobject); #ifdef __cplusplus |