diff options
author | Alexander Kurtakov | 2020-09-08 19:18:52 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2020-09-09 08:34:26 +0000 |
commit | ed5b48019fb8e95c305a0e5c25bde50ebc353b25 (patch) | |
tree | f4c05da032cf55cbf4cd75f883e99717c59ffbb6 | |
parent | d191c031876b3cf64bab79fa767df098d49d369d (diff) | |
download | eclipse.platform.swt-ed5b48019fb8e95c305a0e5c25bde50ebc353b25.tar.gz eclipse.platform.swt-ed5b48019fb8e95c305a0e5c25bde50ebc353b25.tar.xz eclipse.platform.swt-ed5b48019fb8e95c305a0e5c25bde50ebc353b25.zip |
Add @Deprecated annotation to win32 too.
It is already there for gtk/cocoa.
Change-Id: I3975b87a077021b56c53695f8a1f6b0f3be29765
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/FontMetrics.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/FontMetrics.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/FontMetrics.java index 5bca68c128..debee63294 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/FontMetrics.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/FontMetrics.java @@ -116,6 +116,7 @@ public double getAverageCharacterWidth() { * @return the average character width of the font * @deprecated Use getAverageCharacterWidth() instead */ +@Deprecated public int getAverageCharWidth() { return DPIUtil.autoScaleDown(handle.tmAveCharWidth); } |