2004-02-10 Michael Koch <konqueror@gmx.de>

* gnu/java/awt/EmbeddedWindow.java
	(setHandle): Use java.awt.Component.getPeer() instead of
	java.awt.Component.peer directly.

From-SVN: r77605
This commit is contained in:
Michael Koch 2004-02-10 17:46:28 +00:00 committed by Michael Koch
parent 49d77e2275
commit 5e673ed855
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2004-02-10 Michael Koch <konqueror@gmx.de>
* gnu/java/awt/EmbeddedWindow.java
(setHandle): Use java.awt.Component.getPeer() instead of
java.awt.Component.peer directly.
2004-02-10 David Jee <djee@redhat.com> 2004-02-10 David Jee <djee@redhat.com>
* gnu/java/awt/peer/gtk/GtkButtonPeer.java * gnu/java/awt/peer/gtk/GtkButtonPeer.java

View File

@ -108,8 +108,8 @@ public class EmbeddedWindow extends Frame
throw new RuntimeException ("EmbeddedWindow is already embedded"); throw new RuntimeException ("EmbeddedWindow is already embedded");
this.handle = handle; this.handle = handle;
if (peer != null) if (getPeer() != null)
((EmbeddedWindowPeer) peer).embed (this.handle); ((EmbeddedWindowPeer) getPeer()).embed (this.handle);
} }
/** /**