[multiple changes]
2004-06-27 Mark Wielaard <mark@klomp.org> * java/awt/EventQueue.java (postEvent): Throw NullPointerException when argument is null. 2004-06-26 Mark Wielaard <mark@klomp.org> * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI GetMethodID call. (cancel_clicked): Likewise. From-SVN: r83731
This commit is contained in:
parent
093ff71e71
commit
66a74d2a07
@ -1,3 +1,15 @@
|
||||
2004-06-27 Mark Wielaard <mark@klomp.org>
|
||||
|
||||
* java/awt/EventQueue.java (postEvent): Throw NullPointerException
|
||||
when argument is null.
|
||||
|
||||
2004-06-26 Mark Wielaard <mark@klomp.org>
|
||||
|
||||
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
|
||||
(ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
|
||||
GetMethodID call.
|
||||
(cancel_clicked): Likewise.
|
||||
|
||||
2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
|
||||
|
||||
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
|
||||
|
@ -161,6 +161,9 @@ public class EventQueue
|
||||
*/
|
||||
public synchronized void postEvent(AWTEvent evt)
|
||||
{
|
||||
if (evt == null)
|
||||
throw new NullPointerException();
|
||||
|
||||
if (next != null)
|
||||
{
|
||||
next.postEvent(evt);
|
||||
|
@ -198,7 +198,7 @@ ok_clicked (GtkButton *button __attribute__((unused)),
|
||||
jclass cx = (*gdk_env)->GetObjectClass (gdk_env, peer_obj);
|
||||
hideID = (*gdk_env)->GetMethodID (gdk_env, cx, "gtkHideFileDialog", "()V");
|
||||
gtkSetFilenameID = (*gdk_env)->GetMethodID (gdk_env, cx,
|
||||
"gtkSetFilename", "(Ljava.lang.String;)V");
|
||||
"gtkSetFilename", "(Ljava/lang/String;)V");
|
||||
isIDSet = 1;
|
||||
}
|
||||
|
||||
@ -230,7 +230,7 @@ cancel_clicked (GtkButton *button __attribute__((unused)),
|
||||
jclass cx = (*gdk_env)->GetObjectClass (gdk_env, peer_obj);
|
||||
hideID = (*gdk_env)->GetMethodID (gdk_env, cx, "gtkHideFileDialog", "()V");
|
||||
gtkSetFilenameID = (*gdk_env)->GetMethodID (gdk_env, cx,
|
||||
"gtkSetFilename", "(Ljava.lang.String;)V");
|
||||
"gtkSetFilename", "(Ljava/lang/String;)V");
|
||||
isIDSet = 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user