From dd2a35e6735eafd13bf8481f387bb677694bdec0 Mon Sep 17 00:00:00 2001 From: Mike Kestner Date: Fri, 28 Feb 2003 17:09:42 +0000 Subject: remove alloc-based transform (et_drag_data_received): ditto 2003-02-28 Mike Kestner * e-table.c (et_drag_motion): remove alloc-based transform (et_drag_data_received): ditto (et_drag_drop): ditto (do_drag_motion): ditto svn path=/trunk/; revision=20100 --- widgets/table/e-table.c | 12 ------------ 1 file changed, 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, -- cgit v1.2.3