Commit c314ee35 by Per Bothner Committed by Per Bothner

* gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.

	* gnu/gcj/xlib/XImage.java:  Likewise.
	* gnu/gcj/xlib/XColor.java:  Likewise.

From-SVN: r50498
parent e4a4c70b
2002-03-09 Per Bothner <per@bothner.com>
* gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
* gnu/gcj/xlib/XImage.java: Likewise.
* gnu/gcj/xlib/XColor.java: Likewise.
2002-03-09 Adam Megacz <adam@xwt.org>
* java/lang/Win32Process.java (ConcreteProcess): Now throws an
......
......@@ -45,8 +45,8 @@ public class WindowAttributes
{
WindowAttributes attributes = (WindowAttributes) super.clone();
// In case of an exception before the stucture is copied.
attributes.in = 0;
attributes.out = 0;
attributes.in = null;
attributes.out = null;
// FIXME: do anything else?
......@@ -77,13 +77,13 @@ public class WindowAttributes
* Reference to XWindowAttribute structure containing attributes
* read from a window.
*/
RawData in = 0;
RawData in = null;
/**
* Reference to XSetWindowAttribute structure containing attributes
* to be applied to a window.
*/
RawData out = 0;
RawData out = null;
long mask;
......
......@@ -38,5 +38,5 @@ public final class XColor
public final native byte getFlags();
public final native long getPixelValue();
RawData structure = 0;
RawData structure = null;
}
......@@ -141,7 +141,7 @@ public class XImage
protected native void finalize();
boolean ownsData = false;
RawData structure = 0;
RawData structure = null;
public final native int getWidth();
public final native int getHeight();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment