Patch: Fix for GtkLabelPeer's implementation
Thomas Fitzsimmons
fitzsim@redhat.com
Thu Jul 24 18:12:00 GMT 2003
Hello,
This patch eliminates Glib runtime warnings that were being produced by
GtkLabelPeer's implementation. The warnings were being emitted because
an attempt was being made to set GtkLabel properties on the GtkEvent box
that contained the label. This patch solves the problem by removing the
event box. The event box is not needed to properly implement
GtkLabelPeer.
Please review and comment.
Thanks,
Tom
2003-07-24 Thomas Fitzsimmons <fitzsim@redhat.com>
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
Don't pack label in an event box.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: label2.diff
Type: text/x-patch
Size: 907 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20030724/b6096c22/attachment.bin>
More information about the Java-patches
mailing list