aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/table/e-table.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c
index 3998f468cd..ab0af124bc 100644
--- a/widgets/table/e-table.c
+++ b/widgets/table/e-table.c
@@ -1550,8 +1550,10 @@ e_table_get_cell_geometry (ETable *table,
if (x_return)
(*x_return) -= GTK_LAYOUT(table->table_canvas)->hadjustment->value;
- if (y_return)
+ if (y_return) {
(*y_return) -= GTK_LAYOUT(table->table_canvas)->vadjustment->value;
+ (*y_return) += GTK_WIDGET(table->header_canvas)->allocation.height;
+ }
}
struct _ETableDragSourceSite