aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/table/e-table.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c
index f0a9f5eb35..cb9b33ef07 100644
--- a/widgets/table/e-table.c
+++ b/widgets/table/e-table.c
@@ -2765,9 +2765,6 @@ do_drag_motion(ETable *et,
widget = GTK_WIDGET (et);
- x -= widget->allocation.x;
- y -= widget->allocation.y;
-
e_table_get_cell_at (et, x, y, &row, &col);
if (row != et->drop_row && col != et->drop_row) {
@@ -2906,9 +2903,6 @@ et_drag_motion(GtkWidget *widget,
time);
- x -= widget->allocation.x;
- y -= widget->allocation.y;
-
if (y < 20)
direction |= ET_SCROLL_UP;
if (y > widget->allocation.height - 20)
@@ -2937,9 +2931,6 @@ et_drag_drop(GtkWidget *widget,
gboolean ret_val;
int row, col;
- x -= widget->allocation.x;
- y -= widget->allocation.y;
-
e_table_get_cell_at (et, x, y, &row, &col);
if (row != et->drop_row && col != et->drop_row) {
@@ -2972,9 +2963,6 @@ et_drag_data_received(GtkWidget *widget,
{
int row, col;
- x -= widget->allocation.x;
- y -= widget->allocation.y;
-
e_table_get_cell_at (et, x, y, &row, &col);
g_signal_emit (G_OBJECT (et), et_signals [TABLE_DRAG_DATA_RECEIVED], 0,