* gnu/java/awt/peer/gtk/GtkFramePeer.java
(removeMenuBarPeer): Remove MenuBarPeer argument.
* gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
(dispose): Call native method.
* java/awt/Frame.java (setMenuBar): Create and remove
MenuBar peers only if the Frame has a peer.
(addNotify): Create the MenuBar peer if one exists.
(removeNotify): Remove MenuBar peer if one exists.
* java/awt/Menu.java: Fix imports.
(addNotify): Don't use full class name.
(removeNotify): Call removeNotify on all children.
* java/awt/MenuBar.java (removeNotify): Call
removeNotify on all children.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(removeMenuBarPeer): Remove MenuBarPeer argument.
Iterate through children to find the Frame's MenuBar.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
New file.
(dispose): Remove references to the MenuComponent.
From-SVN: r76740
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| applet | Loading commit data... | |
| awt | Loading commit data... | |
| beans | Loading commit data... | |
| io | Loading commit data... | |
| lang | Loading commit data... | |
| math | Loading commit data... | |
| net | Loading commit data... | |
| nio | Loading commit data... | |
| rmi | Loading commit data... | |
| security | Loading commit data... | |
| sql | Loading commit data... | |
| text | Loading commit data... | |
| util | Loading commit data... |