Hi list,

I fixed the declarations of two methods in GtkImage native code
to comply with
http://www.gnu.org/prep/standards/html_node/Formatting.html#Formatting.
The JNI checking script depends on this format.


Michael


2005-06-04  Michael Koch  <[EMAIL PROTECTED]>

        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
        (Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf):
        Fixed method declaration format.
        (Java_gnu_java_awt_peer_gtk_GtkImage_drawPixelsScaled):
        Likewise.

Index: native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
===================================================================
RCS file: 
/cvsroot/classpath/classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c,v
retrieving revision 1.1
diff -u -r1.1 gnu_java_awt_peer_gtk_GtkImage.c
--- native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c        2 Jun 2005 
13:18:10 -0000       1.1
+++ native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c        4 Jun 2005 
07:53:01 -0000
@@ -61,8 +61,9 @@
 /**
  * Loads a pixmap from a file.
  */
-JNIEXPORT jboolean JNICALL Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf
-(JNIEnv *env, jobject obj, jstring name)
+JNIEXPORT jboolean JNICALL
+Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf
+  (JNIEnv *env, jobject obj, jstring name)
 {
   const char *filename;
   int width, height;
@@ -266,10 +267,11 @@
  * Draws the pixbuf at x, y, scaled to width and height and 
  * optionally composited with a given background color.
  */
-JNIEXPORT void JNICALL Java_gnu_java_awt_peer_gtk_GtkImage_drawPixelsScaled 
-(JNIEnv *env, jobject obj, jobject gc_obj,
- jint bg_red, jint bg_green, jint bg_blue, 
- jint x, jint y, jint width, jint height, jboolean composite)
+JNIEXPORT void JNICALL
+Java_gnu_java_awt_peer_gtk_GtkImage_drawPixelsScaled 
+  (JNIEnv *env, jobject obj, jobject gc_obj,
+   jint bg_red, jint bg_green, jint bg_blue, 
+   jint x, jint y, jint width, jint height, jboolean composite)
 {
   GdkPixbuf* dst;
   struct graphics *g;
_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to