Scrollbar.java (removeAdjustmentListener): Use remove', not add'.

* java/awt/Scrollbar.java (removeAdjustmentListener): Use
	`remove', not `add'.

From-SVN: r36650
This commit is contained in:
Tom Tromey 2000-09-26 23:46:09 +00:00 committed by Tom Tromey
parent dada8ffd5a
commit a3f7444bf2
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2000-09-26 Tom Tromey <tromey@cygnus.com>
* java/awt/Scrollbar.java (removeAdjustmentListener): Use
`remove', not `add'.
2000-09-26 Alexandre Petit-Bianco <apbianco@cygnus.com>
* java/lang/natSystem.cc (file_encoding): Added return statement.

View File

@ -194,7 +194,7 @@ public class Scrollbar extends Component implements Adjustable
public void removeAdjustmentListener (AdjustmentListener l)
{
listeners = AWTEventMulticaster.add (listeners, l);
listeners = AWTEventMulticaster.remove (listeners, l);
}
protected void processEvent (AWTEvent e)