[kaffe] CVS kaffe (dalibor): Fixed C++-ism in gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
Kaffe CVS
cvs-commits at kaffe.org
Sun Jul 25 08:45:13 PDT 2004
PatchSet 5015
Date: 2004/07/25 15:36:39
Author: dalibor
Branch: HEAD
Tag: (none)
Log:
Fixed C++-ism in gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2004-07-25 Dalibor Topic <robilad at kaffe.org>
* libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
(filenameFilterCallback): Declare local variable accepted before use.
Members:
ChangeLog:1.2574->1.2575
libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:1.2->1.3
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2574 kaffe/ChangeLog:1.2575
--- kaffe/ChangeLog:1.2574 Sun Jul 25 09:31:31 2004
+++ kaffe/ChangeLog Sun Jul 25 15:36:39 2004
@@ -1,3 +1,8 @@
+2004-07-25 Dalibor Topic <robilad at kaffe.org>
+
+ * libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
+ (filenameFilterCallback): Declare local variable accepted before use.
+
2004-07-25 Guilhem Lavaux <guilhem at kaffe.org>
* libraries/javalib/javax/swing/text/DefaultHighlighter.java:
Index: kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
diff -u kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:1.2 kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:1.3
--- kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:1.2 Sun Jul 25 06:37:23 2004
+++ kaffe/libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c Sun Jul 25 15:36:41 2004
@@ -151,6 +151,7 @@
jclass cx;
jmethodID id;
jstring *filename;
+ gboolean accepted;
cx = (*gdk_env)->GetObjectClass (gdk_env, (jobject) obj);
id = (*gdk_env)->GetMethodID (gdk_env, cx, "filenameFilterCallback",
@@ -159,7 +160,7 @@
filename = (*gdk_env)->NewStringUTF(gdk_env, filter_info->filename);
gdk_threads_leave();
- gboolean accepted = (*gdk_env)->CallBooleanMethod(gdk_env, obj, id, filename);
+ accepted = (*gdk_env)->CallBooleanMethod(gdk_env, obj, id, filename);
gdk_threads_enter();
return accepted;
More information about the kaffe
mailing list