aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Kestner <mkestner@ximian.com>2003-03-01 01:01:34 +0800
committerMike Kestner <mkestner@src.gnome.org>2003-03-01 01:01:34 +0800
commitf37fdf7f9b8ecc736c3c0db296da8184c97927f3 (patch)
tree7544f9c294145a8bf443d547d45a26dce3840bc2
parentdf08abfd54dfe76e57eb9b8fd10593d2e43d41ab (diff)
downloadgsoc2013-evolution-f37fdf7f9b8ecc736c3c0db296da8184c97927f3.tar.gz
gsoc2013-evolution-f37fdf7f9b8ecc736c3c0db296da8184c97927f3.tar.zst
gsoc2013-evolution-f37fdf7f9b8ecc736c3c0db296da8184c97927f3.zip
remove alloc-based transform (et_drag_data_received): ditto
2003-02-28 Mike Kestner <mkestner@ximian.com> * 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
-rw-r--r--widgets/table/e-tree.c11
1 files changed, 0 insertions, 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,