commit | da3807c9185b8a2cb6f9cf308f364e7d0aa38ded | [log] [tgz] |
---|---|---|
author | Grant Gayed <grant_gayed@ca.ibm.com> | Tue Jun 25 11:27:10 2013 -0400 |
committer | Grant Gayed <grant_gayed@ca.ibm.com> | Thu Jul 11 10:18:17 2013 -0400 |
tree | 35593bed32b7c070f0ca496c1c6ae557f1561283 | |
parent | 4398a1b66c25d36301461beb9df142a860339c5b [diff] |
Bug 411006 - Typo in Menu.getBounds()
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Menu.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Menu.java index e8a57c8..57d3beb 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Menu.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Menu.java
@@ -381,7 +381,7 @@ GtkAllocation allocation = new GtkAllocation (); gtk_widget_get_allocation (handle, allocation); int x = origin_x [0] + allocation.x; - int y = origin_x [0] + allocation.y; + int y = origin_y [0] + allocation.y; int width = allocation.width; int height = allocation.height; return new Rectangle (x, y, width, height);