diff options
author | Fernando Nasser <fnasser@redhat.com> | 2003-12-23 19:24:00 +0000 |
---|---|---|
committer | Fernando Nasser <fnasser@gcc.gnu.org> | 2003-12-23 19:24:00 +0000 |
commit | baba70d019dcf4ce9cbd6544465b25154eaed5e0 (patch) | |
tree | 29c9440c1526ef9518e40450118087067dad5e4d /libjava/java/awt/ActiveEvent.java | |
parent | 459ac19fa525d64829e364d549814deb09854c2a (diff) | |
download | gcc-baba70d019dcf4ce9cbd6544465b25154eaed5e0.zip gcc-baba70d019dcf4ce9cbd6544465b25154eaed5e0.tar.gz gcc-baba70d019dcf4ce9cbd6544465b25154eaed5e0.tar.bz2 |
GtkChoicePeer.java (postItemEvent): Rename to...
2003-12-22 Fernando Nasser <fnasser@redhat.com>
* gnu/java/awt/peer/gtk/GtkChoicePeer.java (postItemEvent): Rename to... (choicePostItemEvent): Change signature to more specific String object.
* java/awt/Choice.java (add): Generate ItemEvent for the first item
added.
(insert): Generate ItemEvent if insertion caused
selection to change.
(remove): Generate ItemEvent if removal cause selection to change.
(removeAll): Change algorithm to prevent generation of ItemEvents.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
(connect_choice_item_selectable_hook): Change argument type.
Fix argument value.
Make sure resources are feed by registering callback.
(Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Adjust call to the
above function.
(Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Ditto.
(item_activate): Ditto.
(Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Destroy removed
menuitem.
(item_removed): New function. Free resources.
* jni/gtk-peer/gtkpeer.h (item_event_hook_info): Change member type and
name.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
(Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Obtain MethodID for
choicePostItemEvent.
From-SVN: r74979
Diffstat (limited to 'libjava/java/awt/ActiveEvent.java')
0 files changed, 0 insertions, 0 deletions