On Sat, 2005-09-03 at 21:56 +0200, Mark Wielaard wrote: > Hi, > > Is there a reason why the GtkToolkit createImage() methods only return > an ErrorImage on failure in the case of Graphics2D/BufferedImage > availability? This patch makes them behave similar: > > 2005-09-03 Mark Wielaard <[EMAIL PROTECTED]> > > * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): > Renamed to ... > (imageOrError): Renamed from bufferedImageOrError, takes Image. > (createImage(String)): Always use imageOrError. > (createImage(URL)): Likewise. > (createImage(ImageProducer)): Likewise. > (createImage(byte[],int,int)): Likewise. > > Does that makes sense?
Can you file a bug for the problem you're trying to fix? I want to get rid of GtkErrorImage; rather it should just be a GtkImage with an error flag set. Tom _______________________________________________ Classpath-patches mailing list [email protected] http://lists.gnu.org/mailman/listinfo/classpath-patches
