Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLakshmi Shanmugam2017-09-29 01:58:52 -0400
committerLakshmi Shanmugam2017-09-29 02:16:38 -0400
commitef52d7ec57eab4ec68f49e66ffbf0698421fdb3c (patch)
treea848bdda202b0de38e32d222291c53ab5e879ab8 /bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa
parent1391d1e854f7ff317f836a800a7059ebc862d234 (diff)
downloadeclipse.platform.swt-ef52d7ec57eab4ec68f49e66ffbf0698421fdb3c.tar.gz
eclipse.platform.swt-ef52d7ec57eab4ec68f49e66ffbf0698421fdb3c.tar.xz
eclipse.platform.swt-ef52d7ec57eab4ec68f49e66ffbf0698421fdb3c.zip
Bug 521849: Fix deprecated warnings in Mac native build
SetFrontProcess is deprecated since 10.9. Remove it as the minimum supported mac OS version is 10.10 and is no longer required in Display class. Change-Id: I29862661233f12af5a1340a24b6b27e9ed87ea82
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java
index 75b7edcf97..dad5f46630 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java
@@ -224,8 +224,6 @@ public static final native int Gestalt(int selector, int[] response);
/** @param psn cast=(ProcessSerialNumber *) */
public static final native int GetCurrentProcess(int[] psn);
/** @param psn cast=(ProcessSerialNumber *) */
-public static final native int SetFrontProcess(int[] psn);
-/** @param psn cast=(ProcessSerialNumber *) */
public static final native int TransformProcessType(int[] psn, int transformState);
public static final native int CPSSetProcessName(int[] psn, long /*int*/ name);
/** @method flags=dynamic */

Back to the top