Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLakshmi Shanmugam2015-07-31 05:51:38 -0400
committerLakshmi Shanmugam2015-07-31 05:51:38 -0400
commit04faf293cdea841be2c5fdd94b412bf022b94cde (patch)
tree40f116e2a40e5303c2b281be87d5cd189e8dac52 /bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa
parente88f536879363e6d94276144a4614adbdf444429 (diff)
downloadeclipse.platform.swt-04faf293cdea841be2c5fdd94b412bf022b94cde.tar.gz
eclipse.platform.swt-04faf293cdea841be2c5fdd94b412bf022b94cde.tar.xz
eclipse.platform.swt-04faf293cdea841be2c5fdd94b412bf022b94cde.zip
Bug 386252 - Deprecation warning running SWT on Mountain Lion
Remove occurrences of NSScreen.userSpaceScaleFactor
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/AppKitFull.bridgesupport.extras6
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSScreen.java4
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSWindow.java4
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java1
4 files changed, 0 insertions, 15 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/AppKitFull.bridgesupport.extras b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/AppKitFull.bridgesupport.extras
index a31fa99d5f..f193fb42ae 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/AppKitFull.bridgesupport.extras
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/AppKitFull.bridgesupport.extras
@@ -2825,9 +2825,6 @@
<method class_method="true" selector="screens" swt_gen="true">
<retval swt_gen="true"></retval>
</method>
- <method selector="userSpaceScaleFactor" swt_gen="true">
- <retval swt_gen="true"></retval>
- </method>
<method selector="visibleFrame" swt_gen="true">
<retval swt_gen="true"></retval>
</method>
@@ -4488,9 +4485,6 @@
<method selector="toolbar" swt_gen="true">
<retval swt_gen="true"></retval>
</method>
- <method selector="userSpaceScaleFactor" swt_gen="true">
- <retval swt_gen="true"></retval>
- </method>
<method selector="windowNumber" swt_gen="true">
<retval swt_gen="true"></retval>
</method>
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSScreen.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSScreen.java
index 27b8fc9c1e..3288dca203 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSScreen.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSScreen.java
@@ -53,10 +53,6 @@ public static NSArray screens() {
return result != 0 ? new NSArray(result) : null;
}
-public double /*float*/ userSpaceScaleFactor() {
- return (double /*float*/)OS.objc_msgSend_fpret(this.id, OS.sel_userSpaceScaleFactor);
-}
-
public NSRect visibleFrame() {
NSRect result = new NSRect();
OS.objc_msgSend_stret(result, this.id, OS.sel_visibleFrame);
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSWindow.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSWindow.java
index 3d51a72f0d..e6f4183aca 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSWindow.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSWindow.java
@@ -366,10 +366,6 @@ public NSToolbar toolbar() {
return result != 0 ? new NSToolbar(result) : null;
}
-public double /*float*/ userSpaceScaleFactor() {
- return (double /*float*/)OS.objc_msgSend_fpret(this.id, OS.sel_userSpaceScaleFactor);
-}
-
public long /*int*/ windowNumber() {
return OS.objc_msgSend(this.id, OS.sel_windowNumber);
}
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 84e244c64a..b0e3772d2a 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
@@ -2242,7 +2242,6 @@ public static final long /*int*/ sel_useCredential_forAuthenticationChallenge_ =
public static final long /*int*/ sel_usedRectForTextContainer_ = sel_registerName("usedRectForTextContainer:");
public static final long /*int*/ sel_user = sel_registerName("user");
public static final long /*int*/ sel_userInfo = sel_registerName("userInfo");
-public static final long /*int*/ sel_userSpaceScaleFactor = sel_registerName("userSpaceScaleFactor");
public static final long /*int*/ sel_usesAlternatingRowBackgroundColors = sel_registerName("usesAlternatingRowBackgroundColors");
public static final long /*int*/ sel_validAttributesForMarkedText = sel_registerName("validAttributesForMarkedText");
public static final long /*int*/ sel_validModesForFontPanel_ = sel_registerName("validModesForFontPanel:");

Back to the top