/[classpath]/classpath/gnu/java/awt/peer/gtk/GtkImage.java
ViewVC logotype

Diff of /classpath/gnu/java/awt/peer/gtk/GtkImage.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.11 by mkoch, Mon May 31 21:11:41 2004 UTC revision 1.12 by mark, Thu Jul 22 19:45:38 2004 UTC
# Line 202  public class GtkImage extends Image impl Line 202  public class GtkImage extends Image impl
202    public synchronized void    public synchronized void
203    setColorModel (ColorModel model)    setColorModel (ColorModel model)
204    {    {
205      if (this.model == null || this.model == model)      if (this.model == null || this.model.equals(model))
206        this.model = model;        this.model = model;
207      else      else
208        isCacheable = false;        isCacheable = false;
# Line 235  public class GtkImage extends Image impl Line 235  public class GtkImage extends Image impl
235      if (!isCacheable)      if (!isCacheable)
236        return;        return;
237    
238      if (cm != model || pixelCache == null)      if (!cm.equals(model) || pixelCache == null)
239        {        {
240          isCacheable = false;          isCacheable = false;
241          return;          return;

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26