summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelipe Heidrich <fheidric>2004-03-03 17:13:40 +0000
committerFelipe Heidrich <fheidric>2004-03-03 17:13:40 +0000
commit6901f8f135bbefa7748fec892f25007d744aa39c (patch)
tree95a14bd2395474a3eb06037c6f12f32b094dd68e
parent012cffec5600c479fbc2d9d6262ecba30096af9e (diff)
downloadeclipse.platform.swt-6901f8f135bbefa7748fec892f25007d744aa39c.tar.gz
eclipse.platform.swt-6901f8f135bbefa7748fec892f25007d744aa39c.tar.xz
eclipse.platform.swt-6901f8f135bbefa7748fec892f25007d744aa39c.zip
38948 backport (fix)v2136a
-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 644ab5ccc5..344714af6f 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
@@ -763,7 +763,7 @@ public int getItemHeight () {
int height = 0;
int iter = OS.g_malloc (OS.GtkTreeIter_sizeof ());
OS.gtk_tree_model_get_iter_first (modelHandle, iter);
- int columnColumn = Math.max (1, columnCount);
+ int columnCount = Math.max (1, this.columnCount);
for (int i=0; i<columnCount; i++) {
int column = OS.gtk_tree_view_get_column (handle, i);
int renderers = OS.gtk_tree_view_column_get_cell_renderers (column);