summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArun Thondapu <arunkumar.thondapu@in.ibm.com>2012-08-06 18:14:39 +0530
committerArun Thondapu <arunkumar.thondapu@in.ibm.com>2012-08-06 18:14:39 +0530
commit77a864c617c9320310a0566ced42ef43c6615a47 (patch)
tree3b422e28b1d85db501c5ecaf126af7ae83d99fec
parent31b7a613958123368d896ee9b0a636412f2a598b (diff)
downloadeclipse.platform.swt-77a864c617c9320310a0566ced42ef43c6615a47.tar.gz
eclipse.platform.swt-77a864c617c9320310a0566ced42ef43c6615a47.tar.xz
eclipse.platform.swt-77a864c617c9320310a0566ced42ef43c6615a47.zip
Bug 386145 undoing minor formatting changes introduced in previous
commit
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java1
2 files changed, 1 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java
index 3bcf23ded3..2cf5fbeaea 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java
@@ -456,7 +456,7 @@ public Rectangle getThumbTrackBounds () {
}
Rectangle rect = new Rectangle(x, y, width, height);
int [] origin_x = new int [1], origin_y = new int [1];
- int /*long*/ window = gtk_widget_get_window (parent.scrolledHandle);
+ int /*long*/ window = gtk_widget_get_window (parent.scrolledHandle);
if (window != 0) OS.gdk_window_get_origin (window, origin_x, origin_y);
rect.x += origin_x [0];
rect.y += origin_y [0];
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
index b173703434..2f5964ebe6 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
@@ -772,7 +772,6 @@ int /*long*/ filterProc (int /*long*/ xEvent, int /*long*/ gdkEvent, int /*long*
if (isDisposed ()) return 0;
if (isCustomResize ()) {
OS.gdk_window_invalidate_rect (gtk_widget_get_window (shellHandle), null, false);
-
}
break;
}