GtkComponentPeer.java (prepareImage): Remove null check.
2003-11-12 Tom Fitzsimmons <fitzsim@redhat.com> * gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove null check. * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise. * java/awt/Component.java (prepareImage): Likewise. From-SVN: r73513
This commit is contained in:
parent
49add53f4e
commit
2860518a07
4 changed files with 5 additions and 9 deletions
|
@ -169,9 +169,6 @@ public class GtkToolkit extends Toolkit
|
|||
public boolean prepareImage (Image image, int width, int height,
|
||||
ImageObserver observer)
|
||||
{
|
||||
if (image == null)
|
||||
throw new NullPointerException ();
|
||||
|
||||
GtkImage i = (GtkImage) image;
|
||||
|
||||
if (i.isLoaded ()) return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue