[gui] [PATCH] GtkImagePainter fixes
David Jee
djee@redhat.com
Wed May 5 20:39:00 GMT 2004
Hello,
I'm committing the following patch to the java-gui-branch. It fixes two
small things in GtkImagePainter.
-David Jee
2004-05-05 David Jee <djee@redhat.com>
* gnu/java/awt/peer/gtk/GtkImagePainter.java
(convertPixels): If either pixels or model is null, return null.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
(Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
is null, do nothing and return.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GtkImagePainter.patch
Type: text/x-patch
Size: 1604 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040505/cae4cdfb/attachment.bin>
More information about the Java-patches
mailing list