diff options
author | Silenio Quarti <silenio_quarti@ca.ibm.com> | 2012-10-01 12:40:34 -0400 |
---|---|---|
committer | Silenio Quarti <silenio_quarti@ca.ibm.com> | 2012-10-01 12:41:04 -0400 |
commit | fb3106adcce03e4cd86cd28536cb17aa3f6d3af6 (patch) | |
tree | ac815ab86df57a1d2ef1bb1a56f37c416b6c0f64 /bundles/org.eclipse.swt/Eclipse SWT Drag and Drop | |
parent | 9e63612ad7ec3e94864b71208597e4589decad66 (diff) | |
download | eclipse.platform.swt-fb3106adcce03e4cd86cd28536cb17aa3f6d3af6.tar.gz eclipse.platform.swt-fb3106adcce03e4cd86cd28536cb17aa3f6d3af6.tar.xz eclipse.platform.swt-fb3106adcce03e4cd86cd28536cb17aa3f6d3af6.zip |
Bug 390699 - Table.showItem is broken on Linux
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Drag and Drop')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/TreeDropTargetEffect.java | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |