summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TrayItem.java
diff options
context:
space:
mode:
authorSilenio Quarti <silenio>2008-08-18 15:14:00 +0000
committerSilenio Quarti <silenio>2008-08-18 15:14:00 +0000
commit114a90e9c5c0a4fae8a6509db4dd3947871a06a6 (patch)
tree9e22800b8fd3eb5e9d420a613644bfcbab975e8e /bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TrayItem.java
parent047551711731234f55bfa1e053304f3a7d2a17a6 (diff)
downloadeclipse.platform.swt-114a90e9c5c0a4fae8a6509db4dd3947871a06a6.tar.gz
eclipse.platform.swt-114a90e9c5c0a4fae8a6509db4dd3947871a06a6.tar.xz
eclipse.platform.swt-114a90e9c5c0a4fae8a6509db4dd3947871a06a6.zip
64 bit work
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TrayItem.java')
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TrayItem.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TrayItem.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TrayItem.java
index 4aca800d8d..7714806168 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TrayItem.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TrayItem.java
@@ -337,7 +337,7 @@ public void setImage (Image image) {
if (image != null && image.isDisposed ()) error (SWT.ERROR_INVALID_ARGUMENT);
super.setImage (image);
view.setImage(image != null ? image.handle : null);
- double /*float*/ width = image != null && visible ? image.handle.size().width + BORDER : 0;
+ float /*double*/ width = image != null && visible ? image.handle.size().width + BORDER : 0;
item.setLength(width);
}
@@ -404,7 +404,7 @@ public void setVisible (boolean visible) {
if (isDisposed ()) return;
}
this.visible = visible;
- double /*float*/ width = image != null && visible ? image.handle.size().width + BORDER : 0;
+ float /*double*/ width = image != null && visible ? image.handle.size().width + BORDER : 0;
item.setLength(width);
if (!visible) sendEvent (SWT.Hide);
}