Ugh, I forgot to remove the old statement.

2006-05-18  Roman Kennke <[EMAIL PROTECTED]>

        * gnu/java/awt/peer/gtk/GdkGraphics.java
        (clipRect): Removed old intersection statement.

/roman

-- 
“Improvement makes straight roads, but the crooked roads, without
Improvement, are roads of Genius.” - William Blake
Index: gnu/java/awt/peer/gtk/GdkGraphics.java
===================================================================
RCS file: /cvsroot/classpath/classpath/gnu/java/awt/peer/gtk/GdkGraphics.java,v
retrieving revision 1.56
diff -u -1 -0 -r1.56 GdkGraphics.java
--- gnu/java/awt/peer/gtk/GdkGraphics.java	18 May 2006 14:55:46 -0000	1.56
+++ gnu/java/awt/peer/gtk/GdkGraphics.java	18 May 2006 14:56:45 -0000
@@ -154,22 +154,21 @@
 
   native void connectSignals (GtkComponentPeer component);
 
   public native void clearRect(int x, int y, int width, int height);
 
   public void clipRect (int x, int y, int width, int height)
   {
     if (component != null && ! component.isRealized ())
       return;
 
-    //computeIntersection(x, y, width, height, clip);
-    clip = clip.intersection(new Rectangle(x, y, width, height));
+    computeIntersection(x, y, width, height, clip);
     setClipRectangle (clip.x, clip.y, clip.width, clip.height);
   }
 
   public native void copyArea(int x, int y, int width, int height, 
 			      int dx, int dy);
 
   /**
    * Creates a copy of this GdkGraphics instance. This implementation can
    * reuse a cached instance to avoid massive instantiation of Graphics objects
    * during painting.

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to