diff options
author | Mark Wielaard <mark@klomp.org> | 2006-12-06 21:53:23 +0000 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2006-12-06 21:53:23 +0000 |
commit | 2f96fde3dd60a85cb00325dc760c42c84cf30c5c (patch) | |
tree | e1382bd64e6696818655bd9331b14a8d5100f7e3 | |
parent | 8f99687ea3a48a7010897ad02665fd58aa06d0ae (diff) | |
download | classpath-2f96fde3dd60a85cb00325dc760c42c84cf30c5c.tar.gz |
* gnu/java/awt/peer/gtk/AsyncImage.java (addObserver): Never notify
null Observer.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | gnu/java/awt/peer/gtk/AsyncImage.java | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2006-12-06 Mark Wielaard <mark@klomp.org> + + * gnu/java/awt/peer/gtk/AsyncImage.java (addObserver): Never notify + null Observer. + 2006-12-06 Roman Kennke <kennke@aicas.com> * examples/gnu/classpath/examples/icons/back.png, diff --git a/gnu/java/awt/peer/gtk/AsyncImage.java b/gnu/java/awt/peer/gtk/AsyncImage.java index bf1df298c..e55b4aafe 100644 --- a/gnu/java/awt/peer/gtk/AsyncImage.java +++ b/gnu/java/awt/peer/gtk/AsyncImage.java @@ -225,7 +225,7 @@ public class AsyncImage } } } - else + else if (obs != null) { // When the image is complete, notify the observer. Dunno if that's // really needed, but to be sure. |