Hi, Small fixlet for AsyncImage so that it doesn't try to call a method on a null Observer.
2006-12-06 Mark Wielaard <[EMAIL PROTECTED]>
* gnu/java/awt/peer/gtk/AsyncImage.java (addObserver): Never notify
null Observer.
Committed,
Mark
diff -u -r1.3 AsyncImage.java
--- gnu/java/awt/peer/gtk/AsyncImage.java 5 Dec 2006 22:24:10 -0000
1.3
+++ gnu/java/awt/peer/gtk/AsyncImage.java 6 Dec 2006 21:46:59 -0000
@@ -225,7 +225,7 @@
}
}
}
- else
+ else if (obs != null)
{
// When the image is complete, notify the observer. Dunno if that's
// really needed, but to be sure.
signature.asc
Description: This is a digitally signed message part
