+2004-05-14 Tom Tromey <tromey@redhat.com>
+
+ * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
+ not `XGraphicsConfiguration.XOffScreenImage'.
+
2004-05-14 Scott Gilbertson <scottg@mantatest.com>
* gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
-/* Copyright (C) 2000, 2003 Free Software Foundation
+/* Copyright (C) 2000, 2003, 2004 Free Software Foundation
This file is part of libgcj.
if (img instanceof XOffScreenImage)
{
// FIXME: have to enforce clip, or is it OK as-is?
- XGraphicsConfiguration.XOffScreenImage offScreenImage
- = ((XGraphicsConfiguration.XOffScreenImage)img);
+ XOffScreenImage offScreenImage = (XOffScreenImage) img;
Pixmap pixmap = offScreenImage.getPixmap ();
context.copyArea (pixmap, 0, 0, x, y,
offScreenImage.getWidth (), offScreenImage.getHeight ());