diff options
author | Sven de Marothy <sven@physto.se> | 2006-08-08 22:23:35 +0000 |
---|---|---|
committer | Sven de Marothy <sven@physto.se> | 2006-08-08 22:23:35 +0000 |
commit | 73a82f166753c34c3e1a18f2db1955c7c83679a3 (patch) | |
tree | 0f6cede23afe927f993c72607360ef69cc32514e /include | |
parent | c3ea0ff462ca77ee82b76647ea7f5c8c7af47d05 (diff) | |
download | classpath-73a82f166753c34c3e1a18f2db1955c7c83679a3.tar.gz |
2006-08-09 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/GtkMainThread.java
New file.
* gnu/java/awt/peer/gtk/GtkChoicePeer.java
* gnu/java/awt/peer/gtk/GtkComponentPeer.java
Replace GtkToolkit.mainThread with GtkMainThread.mainThread.
* gnu/java/awt/peer/gtk/GtkToolkit.java
Minor style fixes; removed unused fields,
set fields to private where possible.
(createDialog, createFrame, createWindow, createEmbeddedWindow):
Call GtkMainThread.createWindow().
* gnu/java/awt/peer/gtk/GtkWindowPeer.java
(dispose): New method.
* include/gnu_java_awt_peer_gtk_GtkToolkit.h
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
(gtkQuit): New native method.
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 6cdcc622a..f1f5326cd 100644 --- a/include/gnu_java_awt_peer_gtk_GtkToolkit.h +++ b/include/gnu_java_awt_peer_gtk_GtkToolkit.h @@ -17,6 +17,7 @@ JNIEXPORT jint JNICALL Java_gnu_java_awt_peer_gtk_GtkToolkit_getScreenResolution 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 void JNICALL Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkMain (JNIEnv *env, jclass); +JNIEXPORT void JNICALL Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkQuit (JNIEnv *env, jclass); JNIEXPORT jint JNICALL Java_gnu_java_awt_peer_gtk_GtkToolkit_getMouseNumberOfButtons (JNIEnv *env, jobject); #ifdef __cplusplus |