[kaffe] CVS kaffe (guilhem): Fixlet for nano-X/AWT

Kaffe CVS cvs-commits at kaffe.org
Sat Jul 8 08:43:25 PDT 2006


PatchSet 7320 
Date: 2006/07/08 15:07:26
Author: guilhem
Branch: HEAD
Tag: (none) 
Log:
Fixlet for nano-X/AWT

2006-07-08  Kashyap  <ck_kashyap at yahoo.com>

	* libraries/clib/awt/nano-X/window.c
	(Java_java_awt_Toolkit_wndSetVisible):
	Reordered call to getSourceIndex.

Members: 
	ChangeLog:1.4823->1.4824 
	libraries/clib/awt/nano-X/window.c:1.2->1.3 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4823 kaffe/ChangeLog:1.4824
--- kaffe/ChangeLog:1.4823	Sat Jul  8 15:02:38 2006
+++ kaffe/ChangeLog	Sat Jul  8 15:07:26 2006
@@ -1,3 +1,9 @@
+2006-07-08  Kashyap  <ck_kashyap at yahoo.com>
+
+	* libraries/clib/awt/nano-X/window.c
+	(Java_java_awt_Toolkit_wndSetVisible):
+	Reordered call to getSourceIndex.
+	
 2006-07-08  Diego Pettenò  <flameeyes at gentoo.org>
 
 	* kaffe/kaffevm/stackTrace.c
Index: kaffe/libraries/clib/awt/nano-X/window.c
diff -u kaffe/libraries/clib/awt/nano-X/window.c:1.2 kaffe/libraries/clib/awt/nano-X/window.c:1.3
--- kaffe/libraries/clib/awt/nano-X/window.c:1.2	Wed Mar  8 21:07:48 2006
+++ kaffe/libraries/clib/awt/nano-X/window.c	Sat Jul  8 15:07:31 2006
@@ -107,8 +107,8 @@
 	int index;
 	GR_WINDOW_ID wid;
 
-	index = getSourceIndex((GR_WINDOW_ID)_jwindow);
 	wid = (GR_WINDOW_ID)JCL_GetRawData (env, _jwindow);
+	index = getSourceIndex(wid);
 	if (( index < 0 ) || (nanoX.windowsP[index].flags & TLK_SOURCE_DESTROYED)) {
 #ifdef DEBUG
 		SignalError("java.lang.InternalError", "now, debug!!");



More information about the kaffe mailing list