From f37fdf7f9b8ecc736c3c0db296da8184c97927f3 Mon Sep 17 00:00:00 2001 From: Mike Kestner Date: Fri, 28 Feb 2003 17:01:34 +0000 Subject: remove alloc-based transform (et_drag_data_received): ditto 2003-02-28 Mike Kestner * e-tree.c (et_drag_motion): remove alloc-based transform (et_drag_data_received): ditto (et_drag_drop): ditto (et_hover_timeout): ditto (do_drag_motion): ditto svn path=/trunk/; revision=20099 --- widgets/table/e-tree.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/widgets/table/e-tree.c b/widgets/table/e-tree.c index a0432b8f68..4052d6e6fa 100644 --- a/widgets/table/e-tree.c +++ b/widgets/table/e-tree.c @@ -2622,8 +2622,6 @@ do_drag_motion(ETree *et, widget = GTK_WIDGET (et); - x -= widget->allocation.x; - y -= widget->allocation.y; e_tree_get_cell_at (et, x, y, @@ -2727,8 +2725,6 @@ hover_timeout (gpointer data) int row, col; ETreePath path; - x -= widget->allocation.x; - y -= widget->allocation.y; e_tree_get_cell_at (et, x, y, @@ -2878,9 +2874,6 @@ et_drag_motion(GtkWidget *widget, y, time); - x -= widget->allocation.x; - y -= widget->allocation.y; - if (y < 20) direction |= ET_SCROLL_UP; if (y > widget->allocation.height - 20) @@ -2909,8 +2902,6 @@ et_drag_drop(GtkWidget *widget, gboolean ret_val = FALSE; int row, col; ETreePath path; - y -= widget->allocation.y; - x -= widget->allocation.x; e_tree_get_cell_at(et, x, y, @@ -2974,8 +2965,6 @@ et_drag_data_received(GtkWidget *widget, { int row, col; ETreePath path; - y -= widget->allocation.y; - x -= widget->allocation.x; e_tree_get_cell_at(et, x, y, -- cgit v1.2.3