[gui][PATCH] some peer fixes

Thomas Fitzsimmons fitzsim@redhat.com
Wed Jun 23 07:58:00 GMT 2004


Hi,

I committed this patch to java-gui-branch.  It simplifies the
GtkComponentPeer and GtkWindowPeer classes.

Tom

2004-06-22  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* gnu/java/awt/peer/gtk/GtkComponentPeer.java,
	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
	(GtkComponentPeer): Remove temporary try/catch block.
	(setVisible): Call show and hide.
	(show): Make native.
	(hide): Likewise.
	(getArgs): Don't add "visible" argument.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
	(property_notify_predicate): Return Bool instead of int.
	(find_layout): New function.
	(connectJObject): Call find_layout.
	(connectSignals): Likewise.
	(moveLayout): Likewise.
	(gtkLayoutSetVisible): Likewise.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: find-layout-cleanups.patch
Type: text/x-patch
Size: 10677 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040623/e68ac59f/attachment.bin>


More information about the Java-patches mailing list