Hi,

Sven de Marothy wrote:

+  /**
+ * Wraps a buffer with a GtkImage. Buffer must be + */
+  GtkImage(int width, int height, long bufferPointer)
+  {
+    this.width = width;
+    this.height = height;
+    props = new Hashtable();
+    isLoaded = true;
+    observers = null;
+    initFromBuffer( bufferPointer );
+  }

The javadoc trails off here.  I committed the attached fix.

Tom

2006-05-30  Thomas Fitzsimmons  <[EMAIL PROTECTED]>

        * gnu/java/awt/peer/gtk/GtkImage.java: Fix constructor javadoc.
Index: gnu/java/awt/peer/gtk/GtkImage.java
===================================================================
RCS file: /sources/classpath/classpath/gnu/java/awt/peer/gtk/GtkImage.java,v
retrieving revision 1.31
diff -u -r1.31 GtkImage.java
--- gnu/java/awt/peer/gtk/GtkImage.java	30 May 2006 04:21:53 -0000	1.31
+++ gnu/java/awt/peer/gtk/GtkImage.java	30 May 2006 14:12:00 -0000
@@ -116,7 +116,7 @@
   private static GtkImage errorImage;
 
   /**
-   * Allocate a PixBuf from a given ARGB32 buffer pointer
+   * Allocate a PixBuf from a given ARGB32 buffer pointer.
    */
   private native void initFromBuffer( long bufferPointer );
 
@@ -317,7 +317,9 @@
   }
 
   /**
-   * Wraps a buffer with a GtkImage. Buffer must be 
+   * Wraps a buffer with a GtkImage.
+   *
+   * @param bufferPointer a pointer to an ARGB32 buffer
    */
   GtkImage(int width, int height, long bufferPointer)
   {

Reply via email to