This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] overriding setBackground for GtkContainerPeer


>>>>> "David" == David Jee <djee@redhat.com> writes:

David> +        Component comp = (Component) components[i];
[ ... ]
David> +          comp.peer.setBackground(c);

I think this will only compile due to a gcj bug, as `peer' is
package-private in Component.  The patch is fine if you change this
to use getPeer().

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]