Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrant Gayed2006-12-11 15:46:33 -0500
committerGrant Gayed2006-12-11 15:46:33 -0500
commitf596be6f2698a524e2eb59fbf7fa4dfc8e6e5e88 (patch)
tree847bba586e2fcbd92ab2fe187acf37aaa4c036ef
parent254eaccd4611f90882d3082cafda823960d8a092 (diff)
downloadeclipse.platform.swt-f596be6f2698a524e2eb59fbf7fa4dfc8e6e5e88.tar.gz
eclipse.platform.swt-f596be6f2698a524e2eb59fbf7fa4dfc8e6e5e88.tar.xz
eclipse.platform.swt-f596be6f2698a524e2eb59fbf7fa4dfc8e6e5e88.zip
*** empty log message ***
-rw-r--r--examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet112.java1
-rw-r--r--examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet237.java1
2 files changed, 0 insertions, 2 deletions
diff --git a/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet112.java b/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet112.java
index b76e398b07..06532a7760 100644
--- a/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet112.java
+++ b/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet112.java
@@ -32,7 +32,6 @@ public static void main (String [] args) {
gc.setBackground (color);
gc.fillRectangle (image.getBounds ());
gc.dispose ();
- color.dispose ();
Shell shell = new Shell (display);
shell.setLayout (new FillLayout ());
diff --git a/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet237.java b/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet237.java
index 5b05fb7751..eb823f5d84 100644
--- a/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet237.java
+++ b/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet237.java
@@ -56,7 +56,6 @@ public static void main(String[] args) {
while(!shell.isDisposed()) {
if(!display.readAndDispatch()) display.sleep();
}
- color.dispose();
display.dispose();
}
static void createChildren(Composite parent) {

Back to the top