summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java
diff options
context:
space:
mode:
authorSilenio Quarti <silenio_quarti@ca.ibm.com>2012-10-01 12:40:34 -0400
committerSilenio Quarti <silenio_quarti@ca.ibm.com>2012-10-01 12:41:04 -0400
commitfb3106adcce03e4cd86cd28536cb17aa3f6d3af6 (patch)
treeac815ab86df57a1d2ef1bb1a56f37c416b6c0f64 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java
parent9e63612ad7ec3e94864b71208597e4589decad66 (diff)
downloadeclipse.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/gtk/org/eclipse/swt/widgets/Table.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java
index f6d24aead3..956f423d70 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java
@@ -3525,7 +3525,7 @@ void showItem (long /*int*/ iter) {
OS.gtk_tree_view_get_cell_area (handle, path, 0, cellRect);
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, tx, ty);
+ OS.gtk_tree_view_convert_bin_window_to_tree_coords(handle, cellRect.x, cellRect.y, tx, ty);
} else {
OS.gtk_tree_view_widget_to_tree_coords(handle, cellRect.x, cellRect.y, tx, ty);
}