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
This commit is contained in:
Mike Kestner
2003-02-28 17:09:42 +00:00
committed by Mike Kestner
parent f37fdf7f9b
commit dd2a35e673

View File

@ -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,