From 84e83aa6257b920730d59c31cc40422a968cb7d5 Mon Sep 17 00:00:00 2001 From: Grant Gayed Date: Tue, 25 Jun 2013 11:27:10 -0400 Subject: Bug 411006 - Typo in Menu.getBounds() --- .../org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Menu.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bundles') 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 e8a57c83ef..57d3bebb22 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 @@ void fixMenus (Decorations newParent) { 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); -- cgit