Commit a3f7444b by Tom Tromey Committed by Tom Tromey

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

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

From-SVN: r36650
parent dada8ffd
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.
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment