Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlexander Kurtakov2017-07-24 08:59:55 +0000
committerAlexander Kurtakov2017-07-24 08:59:55 +0000
commit21b3dc3ba9e3010caebed19fc34b973849def633 (patch)
tree34f53747a6ca0fd5fd21859c9879d7772e7bd58f /tests
parent2aecf03b1ca296e8c77636778aa4ca26212f702e (diff)
downloadeclipse.platform.swt-21b3dc3ba9e3010caebed19fc34b973849def633.tar.gz
eclipse.platform.swt-21b3dc3ba9e3010caebed19fc34b973849def633.tar.xz
eclipse.platform.swt-21b3dc3ba9e3010caebed19fc34b973849def633.zip
Bug 519996 Widget is disposed exception when closing shell with ccombos
Fix warning in nighty builds. Change-Id: Ib12b1c8d4ef0c7eab8c7adfcc4da4f2ed87702d1 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/org.eclipse.swt.tests.gtk/Bug Snippets/org/eclipse/swt/tests/gtk/snippets/Bug519996_focusDisposeIssue.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/org.eclipse.swt.tests.gtk/Bug Snippets/org/eclipse/swt/tests/gtk/snippets/Bug519996_focusDisposeIssue.java b/tests/org.eclipse.swt.tests.gtk/Bug Snippets/org/eclipse/swt/tests/gtk/snippets/Bug519996_focusDisposeIssue.java
index a3f1395691..cd36fd9e34 100644
--- a/tests/org.eclipse.swt.tests.gtk/Bug Snippets/org/eclipse/swt/tests/gtk/snippets/Bug519996_focusDisposeIssue.java
+++ b/tests/org.eclipse.swt.tests.gtk/Bug Snippets/org/eclipse/swt/tests/gtk/snippets/Bug519996_focusDisposeIssue.java
@@ -15,7 +15,7 @@ public class Bug519996_focusDisposeIssue {
Shell shell = new Shell();
shell.setLayout(new FillLayout());
CCombo combo = new CCombo(shell, SWT.BORDER);
- CCombo combo1 = new CCombo(shell, SWT.BORDER);
+ new CCombo(shell, SWT.BORDER);
Button button = new Button(shell, SWT.PUSH);
button.setText("focus and close");

Back to the top