Scrollbar.java (removeAdjustmentListener): Use remove', not
add'.
* java/awt/Scrollbar.java (removeAdjustmentListener): Use `remove', not `add'. From-SVN: r36650
This commit is contained in:
parent
dada8ffd5a
commit
a3f7444bf2
@ -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>
|
2000-09-26 Alexandre Petit-Bianco <apbianco@cygnus.com>
|
||||||
|
|
||||||
* java/lang/natSystem.cc (file_encoding): Added return statement.
|
* 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)
|
public void removeAdjustmentListener (AdjustmentListener l)
|
||||||
{
|
{
|
||||||
listeners = AWTEventMulticaster.add (listeners, l);
|
listeners = AWTEventMulticaster.remove (listeners, l);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void processEvent (AWTEvent e)
|
protected void processEvent (AWTEvent e)
|
||||||
|
Loading…
Reference in New Issue
Block a user