summaryrefslogtreecommitdiffstats
path: root/bundles
diff options
context:
space:
mode:
authorFelipe Heidrich <fheidric>2010-12-22 15:56:40 +0000
committerFelipe Heidrich <fheidric>2010-12-22 15:56:40 +0000
commit45c9259f4bbd4b6754fbc6b535504db3c8611676 (patch)
tree034493e8b1f5bb1c694d3f99916eeb70c157f0a0 /bundles
parent11b6b18de02756e2f7505c5c1657c3724524ab0b (diff)
downloadeclipse.platform.swt-45c9259f4bbd4b6754fbc6b535504db3c8611676.tar.gz
eclipse.platform.swt-45c9259f4bbd4b6754fbc6b535504db3c8611676.tar.xz
eclipse.platform.swt-45c9259f4bbd4b6754fbc6b535504db3c8611676.zip
Bug 333053 - Multiple compiler warnings in I20101221-1019
Diffstat (limited to 'bundles')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java4
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Composite.java2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java4
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java2
4 files changed, 6 insertions, 6 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java
index 5db29b6f1b..a672a894ad 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java
@@ -966,7 +966,7 @@ String getNameText () {
* @since 2.1.2
*/
public int getOrientation () {
- return super.getOrientation ();
+ return super._getOrientation ();
}
/**
@@ -2089,7 +2089,7 @@ void setOrientation (boolean create) {
* @since 2.1.2
*/
public void setOrientation (int orientation) {
- super.setOrientation (orientation);
+ super._setOrientation (orientation);
}
/**
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Composite.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Composite.java
index ee98c5bbdf..07a409538e 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Composite.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Composite.java
@@ -1430,7 +1430,7 @@ void setOrientation (boolean create) {
int orientation = style & flags;
Control [] children = _getChildren ();
for (int i=0; i<children.length; i++) {
- children[i].setOrientation (orientation);
+ children[i]._setOrientation (orientation);
}
if (((style & SWT.RIGHT_TO_LEFT) != 0) != ((style & SWT.MIRRORED) != 0)) {
moveChildren (-1);
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
index b070c1f3f7..c5109e34c3 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
@@ -202,7 +202,7 @@ int /*long*/ fontHandle () {
return handle;
}
-/*public*/ int getOrientation () {
+/*public*/ int _getOrientation () {
checkWidget();
return style & (SWT.LEFT_TO_RIGHT | SWT.RIGHT_TO_LEFT);
}
@@ -3973,7 +3973,7 @@ void setOrientation (boolean create) {
}
}
-/*public*/ void setOrientation (int orientation) {
+/*public*/ void _setOrientation (int orientation) {
checkWidget ();
if (OS.GTK_VERSION < OS.VERSION (2, 4, 0)) return;
int flags = SWT.RIGHT_TO_LEFT | SWT.LEFT_TO_RIGHT;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java
index 164981043f..e704335794 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java
@@ -849,7 +849,7 @@ public String getMessage () {
* @since 2.1.2
*/
public int getOrientation () {
- return super.getOrientation ();
+ return super._getOrientation ();
}
/*public*/ int getPosition (Point point) {