mirror of
https://gcc.gnu.org/git/gcc.git
synced 2025-01-11 05:23:55 +08:00
* 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
This commit is contained in:
parent
e4a4c70b54
commit
c314ee353b
@ -1,3 +1,9 @@
|
||||
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();
|
||||
|
Loading…
Reference in New Issue
Block a user