aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table.c
diff options
context:
space:
mode:
authorMike Kestner <mkestner@ximian.com>2003-03-01 01:09:42 +0800
committerMike Kestner <mkestner@src.gnome.org>2003-03-01 01:09:42 +0800
commitdd2a35e6735eafd13bf8481f387bb677694bdec0 (patch)
tree089bf0288a6cc557660222e3056f00c6d6d28398 /widgets/table/e-table.c
parentf37fdf7f9b8ecc736c3c0db296da8184c97927f3 (diff)
downloadgsoc2013-evolution-dd2a35e6735eafd13bf8481f387bb677694bdec0.tar.gz
gsoc2013-evolution-dd2a35e6735eafd13bf8481f387bb677694bdec0.tar.zst
gsoc2013-evolution-dd2a35e6735eafd13bf8481f387bb677694bdec0.zip
remove alloc-based transform (et_drag_data_received): ditto
2003-02-28 Mike Kestner <mkestner@ximian.com> * 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
Diffstat (limited to 'widgets/table/e-table.c')
-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,