summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorThomas Fitzsimmons <fitzsim@redhat.com>2005-10-07 23:46:21 +0000
committerThomas Fitzsimmons <fitzsim@redhat.com>2005-10-07 23:46:21 +0000
commit0cce4917789b3ebd71789d43f875781e3767dc06 (patch)
tree1357a58f242e7bcfc9d797320a0a211f94c16779 /gnu
parente8c38d628f8fbb3f2f891d48898758ef719561de (diff)
downloadclasspath-0cce4917789b3ebd71789d43f875781e3767dc06.tar.gz
2005-10-07 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/GtkChoicePeer.java (postChoiceItemEvent): Don't call select on the AWT Choice component. * java/awt/Choice.java (processItemEvent): Set the selected index without calling into the peers.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/java/awt/peer/gtk/GtkChoicePeer.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/gnu/java/awt/peer/gtk/GtkChoicePeer.java b/gnu/java/awt/peer/gtk/GtkChoicePeer.java
index c14074439..ed7dc74d2 100644
--- a/gnu/java/awt/peer/gtk/GtkChoicePeer.java
+++ b/gnu/java/awt/peer/gtk/GtkChoicePeer.java
@@ -131,9 +131,6 @@ public class GtkChoicePeer extends GtkComponentPeer
protected void postChoiceItemEvent (String label, int stateChange)
{
- // Must set our state before notifying listeners
- if (stateChange == ItemEvent.SELECTED)
- ((Choice) awtComponent).select (label);
postItemEvent (label, stateChange);
}
}