summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT OpenGL
diff options
context:
space:
mode:
authorGrant Gayed <ggayed>2006-05-01 19:08:22 +0000
committerGrant Gayed <ggayed>2006-05-01 19:08:22 +0000
commit09f3377205aaa1d485281a13668e93bf82c43b95 (patch)
treef4cd1d0a3f9c6c968c975c0961a9593bedc850b4 /bundles/org.eclipse.swt/Eclipse SWT OpenGL
parentb0003e9c4d90149eb0f1689dec3e6c93ac9cd937 (diff)
downloadeclipse.platform.swt-09f3377205aaa1d485281a13668e93bf82c43b95.tar.gz
eclipse.platform.swt-09f3377205aaa1d485281a13668e93bf82c43b95.tar.xz
eclipse.platform.swt-09f3377205aaa1d485281a13668e93bf82c43b95.zip
133962 part 2
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT OpenGL')
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT OpenGL/carbon/org/eclipse/swt/opengl/GLCanvas.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT OpenGL/carbon/org/eclipse/swt/opengl/GLCanvas.java b/bundles/org.eclipse.swt/Eclipse SWT OpenGL/carbon/org/eclipse/swt/opengl/GLCanvas.java
index 49ce73d1c0..e116a3264d 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT OpenGL/carbon/org/eclipse/swt/opengl/GLCanvas.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT OpenGL/carbon/org/eclipse/swt/opengl/GLCanvas.java
@@ -138,6 +138,7 @@ public GLCanvas (Composite parent, int style, GLData data) {
case SWT.Show:
getDisplay().asyncExec(new Runnable() {
public void run() {
+ if (isDisposed()) return;
fixBounds();
}
});