aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Gilbertson <scottg@mantatest.com>2004-05-14 21:36:47 +0000
committerScott Gilbertson <sgilbertson@gcc.gnu.org>2004-05-14 21:36:47 +0000
commit1cd29ad23586b888af0c47d11c33b6f6b50481c6 (patch)
treebdf9bb42bc417dc8e8380e32d8dc83fcee431669
parentb89e96acc404cb92fe60b4527e1c98189401f0a7 (diff)
downloadgcc-1cd29ad23586b888af0c47d11c33b6f6b50481c6.zip
gcc-1cd29ad23586b888af0c47d11c33b6f6b50481c6.tar.gz
gcc-1cd29ad23586b888af0c47d11c33b6f6b50481c6.tar.bz2
* gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
From-SVN: r81859
-rw-r--r--libjava/ChangeLog4
-rw-r--r--libjava/gnu/awt/xlib/XCanvasPeer.java3
2 files changed, 6 insertions, 1 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index f78f86c..0917bfa 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,3 +1,7 @@
+2004-05-14 Scott Gilbertson <scottg@mantatest.com>
+
+ * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
+
2004-05-14 Steven Augart <augart@watson.ibm.com>
* include/jni.h (_Jv_func): Removed.
diff --git a/libjava/gnu/awt/xlib/XCanvasPeer.java b/libjava/gnu/awt/xlib/XCanvasPeer.java
index 18edaf5..d8a00db 100644
--- a/libjava/gnu/awt/xlib/XCanvasPeer.java
+++ b/libjava/gnu/awt/xlib/XCanvasPeer.java
@@ -424,7 +424,8 @@ public class XCanvasPeer implements CanvasPeer
}
else
{
- throw new UnsupportedOperationException("unmap not implemented");
+ window.unmap();
+ ensureFlush();
}
}