Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXi Yan2019-04-03 16:32:55 +0000
committerXi Yan2019-04-03 20:15:25 +0000
commit46bc7dbe16e739168bd3c11a87e9eb5281f9f2ab (patch)
tree399be7a145a536a44514c2ae2cb5696867d18333 /bundles
parent79f8e3fa02f3f0995dcbf8f04ef8696ffd498411 (diff)
downloadeclipse.platform.swt-46bc7dbe16e739168bd3c11a87e9eb5281f9f2ab.tar.gz
eclipse.platform.swt-46bc7dbe16e739168bd3c11a87e9eb5281f9f2ab.tar.xz
eclipse.platform.swt-46bc7dbe16e739168bd3c11a87e9eb5281f9f2ab.zip
Bug 546089 - [GTK3] Jagged edges in some icons
Revert https://git.eclipse.org/r/#/c/139773/ Better solution found in https://git.eclipse.org/r/#/c/139987/ Change-Id: I1ea0d07d9450dc52b09f87784d8b673779831d53 Signed-off-by: Xi Yan <xixiyan@redhat.com>
Diffstat (limited to 'bundles')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Image.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Image.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Image.java
index e2c749679c..f1e3372130 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Image.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Image.java
@@ -1096,8 +1096,6 @@ public ImageData getImageDataAtCurrentZoom () {
srcData[offset + 1] = (byte)(((r * 0xFF) + a / 2) / a);
srcData[offset + 2] = (byte)(((g * 0xFF) + a / 2) / a);
srcData[offset + 3] = (byte)(((b * 0xFF) + a / 2) / a);
- } else if (data.transparentPixel == -1) {
- data.transparentPixel = 0;
}
}
}

Back to the top