From a3f7444bf257ed2e293b717144ec25c9c7f079d3 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 26 Sep 2000 23:46:09 +0000 Subject: Scrollbar.java (removeAdjustmentListener): Use `remove', not `add'. * java/awt/Scrollbar.java (removeAdjustmentListener): Use `remove', not `add'. From-SVN: r36650 --- libjava/ChangeLog | 5 +++++ libjava/java/awt/Scrollbar.java | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'libjava') diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 9df621f..f55d2cc 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2000-09-26 Tom Tromey + + * java/awt/Scrollbar.java (removeAdjustmentListener): Use + `remove', not `add'. + 2000-09-26 Alexandre Petit-Bianco * java/lang/natSystem.cc (file_encoding): Added return statement. diff --git a/libjava/java/awt/Scrollbar.java b/libjava/java/awt/Scrollbar.java index afe3aba..2a65a81 100644 --- a/libjava/java/awt/Scrollbar.java +++ b/libjava/java/awt/Scrollbar.java @@ -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) -- cgit v1.1