You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by hi...@apache.org on 2009/10/27 13:34:23 UTC

svn commit: r830148 - in /harmony/enhanced/classlib/trunk/modules/awt/src/main/native/gl/unix: XGraphics2D.cpp include/org_apache_harmony_awt_gl_linux_XGraphics2D.h

Author: hindessm
Date: Tue Oct 27 12:34:22 2009
New Revision: 830148

URL: http://svn.apache.org/viewvc?rev=830148&view=rev
Log:
Fixing return value to match java method signature.

Modified:
    harmony/enhanced/classlib/trunk/modules/awt/src/main/native/gl/unix/XGraphics2D.cpp
    harmony/enhanced/classlib/trunk/modules/awt/src/main/native/gl/unix/include/org_apache_harmony_awt_gl_linux_XGraphics2D.h

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/native/gl/unix/XGraphics2D.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/native/gl/unix/XGraphics2D.cpp?rev=830148&r1=830147&r2=830148&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/native/gl/unix/XGraphics2D.cpp (original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/native/gl/unix/XGraphics2D.cpp Tue Oct 27 12:34:22 2009
@@ -243,7 +243,7 @@
     return ret;
 }
 
-JNIEXPORT jint JNICALL 
+JNIEXPORT void JNICALL 
 Java_org_apache_harmony_awt_gl_linux_XGraphics2D_flush
 (JNIEnv *env, jobject obj, jlong display)
 {

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/native/gl/unix/include/org_apache_harmony_awt_gl_linux_XGraphics2D.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/native/gl/unix/include/org_apache_harmony_awt_gl_linux_XGraphics2D.h?rev=830148&r1=830147&r2=830148&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/native/gl/unix/include/org_apache_harmony_awt_gl_linux_XGraphics2D.h (original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/native/gl/unix/include/org_apache_harmony_awt_gl_linux_XGraphics2D.h Tue Oct 27 12:34:22 2009
@@ -160,7 +160,7 @@
 /*
  * Method: org.apache.harmony.awt.gl.linux.XGraphics2D.flush(J)V
  */
-JNIEXPORT jint JNICALL 
+JNIEXPORT void JNICALL 
 Java_org_apache_harmony_awt_gl_linux_XGraphics2D_flush(JNIEnv *, jobject, jlong);
 
 #ifdef __cplusplus