I forgot to remove some unused fields in the last patch. 2006-07-20 Lillian Angel <[EMAIL PROTECTED]>
* gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java: Removed unused fields. (GtkMouseDragGestureRecognizer): Removed initializations. On Fri, 2006-07-21 at 16:45 -0400, Lillian Angel wrote: > Finished implementing GtkMouseDragGestureRecognizer. > > 2006-07-20 Lillian Angel <[EMAIL PROTECTED]> > > * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java > (GtkMouseDragGestureRecognizer): New constructor. > (GtkMouseDragGestureRecognizer): New constructor. > (GtkMouseDragGestureRecognizer): New constructor. > (mouseClicked): Removed FIXME. > (mousePressed): Implemented. > (mouseReleased): Implemented. > (mouseEntered): Implemented. > (mouseDragged): Implemented to check mouse point and trigger > origin. > (mouseMoved): Removed FIXME. > (getDropActionFromEvent): New helper function used to convert > mouse event modifiers to a drop action. > * java/awt/dnd/DragSource.java > (getDragThreshold): Changed to return some arbitrary value for > testing purposes. >
Index: gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java,v retrieving revision 1.2 diff -u -r1.2 GtkMouseDragGestureRecognizer.java --- gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java 21 Jul 2006 20:44:30 -0000 1.2 +++ gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java 21 Jul 2006 21:04:17 -0000 @@ -50,11 +50,6 @@ extends MouseDragGestureRecognizer { - DragSource ds; - Component c; - int actions; - DragGestureListener dgl; - public GtkMouseDragGestureRecognizer (DragSource ds) { this(ds, null, 0, null); @@ -76,11 +71,6 @@ super(ds, c, act, dgl); registerListeners(); - - this.ds = ds; - this.c = c; - this.actions = act; - this.dgl = dgl; } public void mouseClicked (MouseEvent e)