From fb3106adcce03e4cd86cd28536cb17aa3f6d3af6 Mon Sep 17 00:00:00 2001 From: Silenio Quarti Date: Mon, 1 Oct 2012 12:40:34 -0400 Subject: Bug 390699 - Table.showItem is broken on Linux --- .../gtk/org/eclipse/swt/dnd/TreeDropTargetEffect.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bundles/org.eclipse.swt/Eclipse SWT Drag and Drop') diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/TreeDropTargetEffect.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/TreeDropTargetEffect.java index b48787fc84..722763a6f4 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/TreeDropTargetEffect.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/TreeDropTargetEffect.java @@ -168,7 +168,7 @@ public class TreeDropTargetEffect extends DropTargetEffect { if (cellRect.y < cellRect.height) { int[] tx = new int[1], ty = new int[1]; if (OS.GTK_VERSION >= OS.VERSION(2, 12, 0)) { - OS.gtk_tree_view_convert_widget_to_bin_window_coords(handle, cellRect.x, cellRect.y - cellRect.height, tx, ty); + OS.gtk_tree_view_convert_bin_window_to_tree_coords(handle, cellRect.x, cellRect.y - cellRect.height, tx, ty); } else { OS.gtk_tree_view_widget_to_tree_coords(handle, cellRect.x, cellRect.y - cellRect.height, tx, ty); } -- cgit