gcc/libjava/jni/gtk-peer
Fernando Nasser b7a9b4af03 Choice.java (add): Leave posting of ItemEvents to peer.
2004-01-05  Fernando Nasser  <fnasser@redhat.com>

        * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
        (insert): Ditto.
        (remove): Ditto.  Also, Check for valid argument.
        (removeAll): Use peer interface method.
        * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
        native add function.
        (nativeRemove): New name for native remove function.
        (getHistory): New native function.
        (constructor): Generate ItemEvent.
        (add): Ditto, if selection is changed.
        (remove): Ditto, ditto.
        (removeAll): Add implementation.
        (handleEvent): Remove.  Dead code.
        (choicePostItemEvent): Add comment.
        * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
        (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
        (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
        (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
        comments and fix condition to change selection.
        (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
        (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
        remove all capability.
        (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
        (item_activate): Add cast to remove compiler warning.

From-SVN: r75443
2004-01-05 21:18:06 +00:00
..
gdkfont.h configure.in: Add --enable-gtk-cairo check. 2003-12-31 08:58:31 +00:00
gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c GdkClasspathFontPeerMetrics.java: New file. 2003-11-20 22:44:01 +00:00
gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c configure.in: Add --enable-gtk-cairo check. 2003-12-31 08:58:31 +00:00
gnu_java_awt_peer_gtk_GdkFontMetrics.c 2003-12-02 Thomas Fitzsimmons <fitzsim@redhat.com> 2003-12-02 21:00:05 +00:00
gnu_java_awt_peer_gtk_GdkGlyphVector.c GdkClasspathFontPeerMetrics.java: New file. 2003-11-20 22:44:01 +00:00
gnu_java_awt_peer_gtk_GdkGraphics2D.c configure.in: Add --enable-gtk-cairo check. 2003-12-31 08:58:31 +00:00
gnu_java_awt_peer_gtk_GdkGraphics.c 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com> 2003-10-08 23:38:45 +00:00
gnu_java_awt_peer_gtk_GdkPixbufDecoder.c 2003-12-01 Thomas Fitzsimmons <fitzsim@redhat.com> 2003-12-01 18:05:32 +00:00
gnu_java_awt_peer_gtk_GtkButtonPeer.c gtkpeer.h: Extend NSA set of macros to handle a second native state table --... 2003-12-13 01:15:47 +00:00
gnu_java_awt_peer_gtk_GtkCanvasPeer.c gtkpeer.h: Extend NSA set of macros to handle a second native state table --... 2003-12-13 01:15:47 +00:00
gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c gtkpeer.h: Extend NSA set of macros to handle a second native state table --... 2003-12-13 01:15:47 +00:00
gnu_java_awt_peer_gtk_GtkCheckboxPeer.c gtkpeer.h: Extend NSA set of macros to handle a second native state table --... 2003-12-13 01:15:47 +00:00
gnu_java_awt_peer_gtk_GtkChoicePeer.c Choice.java (add): Leave posting of ItemEvents to peer. 2004-01-05 21:18:06 +00:00
gnu_java_awt_peer_gtk_GtkClipboard.c gnu_java_awt_peer_gtk_GtkEvents.c (awt_event_handler): Most coded moved to pre_event_handler, with the modifications mentioned below. 2003-12-11 13:50:51 +00:00
gnu_java_awt_peer_gtk_GtkComponentPeer.c 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com> 2004-01-05 21:13:46 +00:00
gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c gtkpeer.h: Extend NSA set of macros to handle a second native state table --... 2003-12-13 01:15:47 +00:00
gnu_java_awt_peer_gtk_GtkEvents.c 2003-12-22 Thomas Fitzsimmons <fitzsim@redhat.com> 2003-12-22 20:43:37 +00:00
gnu_java_awt_peer_gtk_GtkFileDialogPeer.c gtkpeer.h: Extend NSA set of macros to handle a second native state table --... 2003-12-13 01:15:47 +00:00
gnu_java_awt_peer_gtk_GtkImagePainter.c GtkMenuItemPeer.java (setEnabled): Stub out. 2003-10-08 15:49:33 +00:00
gnu_java_awt_peer_gtk_GtkLabelPeer.c gtkpeer.h: Extend NSA set of macros to handle a second native state table --... 2003-12-13 01:15:47 +00:00
gnu_java_awt_peer_gtk_GtkListPeer.c gtkpeer.h: Extend NSA set of macros to handle a second native state table --... 2003-12-13 01:15:47 +00:00
gnu_java_awt_peer_gtk_GtkMainThread.c GtkChoicePeer.java (postItemEvent): Rename to... 2003-12-23 19:24:00 +00:00
gnu_java_awt_peer_gtk_GtkMenuBarPeer.c gtkpeer.h: Extend NSA set of macros to handle a second native state table --... 2003-12-13 01:15:47 +00:00
gnu_java_awt_peer_gtk_GtkMenuItemPeer.c gtkpeer.h: Extend NSA set of macros to handle a second native state table --... 2003-12-13 01:15:47 +00:00
gnu_java_awt_peer_gtk_GtkMenuPeer.c gtkpeer.h: Extend NSA set of macros to handle a second native state table --... 2003-12-13 01:15:47 +00:00
gnu_java_awt_peer_gtk_GtkPanelPeer.c gtkpeer.h: Extend NSA set of macros to handle a second native state table --... 2003-12-13 01:15:47 +00:00
gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c GtkMenuItemPeer.java (setEnabled): Stub out. 2003-10-08 15:49:33 +00:00
gnu_java_awt_peer_gtk_GtkScrollBarPeer.c gtkpeer.h: Extend NSA set of macros to handle a second native state table --... 2003-12-13 01:15:47 +00:00
gnu_java_awt_peer_gtk_GtkScrollPanePeer.c gtkpeer.h: Extend NSA set of macros to handle a second native state table --... 2003-12-13 01:15:47 +00:00
gnu_java_awt_peer_gtk_GtkTextAreaPeer.c gtkpeer.h: Extend NSA set of macros to handle a second native state table --... 2003-12-13 01:15:47 +00:00
gnu_java_awt_peer_gtk_GtkTextComponentPeer.c gtkpeer.h: Extend NSA set of macros to handle a second native state table --... 2003-12-13 01:15:47 +00:00
gnu_java_awt_peer_gtk_GtkTextFieldPeer.c gtkpeer.h: Extend NSA set of macros to handle a second native state table --... 2003-12-13 01:15:47 +00:00
gnu_java_awt_peer_gtk_GtkToolkit.c GtkMenuItemPeer.java (setEnabled): Stub out. 2003-10-08 15:49:33 +00:00
gnu_java_awt_peer_gtk_GtkWindowPeer.c gtkpeer.h: Extend NSA set of macros to handle a second native state table --... 2003-12-13 01:15:47 +00:00
gthread-jni.c GtkMenuItemPeer.java (setEnabled): Stub out. 2003-10-08 15:49:33 +00:00
gthread-jni.h glib-2.0.m4: New file. 2003-06-30 23:53:29 +00:00
gtkcairopeer.h configure.in: Add --enable-gtk-cairo check. 2003-12-31 08:58:31 +00:00
gtkpeer.h GtkChoicePeer.java (postItemEvent): Rename to... 2003-12-23 19:24:00 +00:00