From bfd2e9c92dc1cdc05eafbd5c3e5774d443c9a881 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Tue, 22 Aug 2000 00:24:03 +0000 Subject: pass table, not site as the closure for these drag signals, since 2000-08-21 Chris Toshok * e-table.c (e_table_drag_source_set): pass table, not site as the closure for these drag signals, since e_table_drag_source_event_cb assumes it's the table. svn path=/trunk/; revision=4911 --- widgets/table/e-table.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'widgets/table') diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c index e2f7edec5e..bd6d7bc60c 100644 --- a/widgets/table/e-table.c +++ b/widgets/table/e-table.c @@ -1147,11 +1147,11 @@ void e_table_drag_source_set (ETable *table, table->drag_source_button_press_event_id = gtk_signal_connect (GTK_OBJECT (canvas), "button_press_event", GTK_SIGNAL_FUNC (e_table_drag_source_event_cb), - site); + table); table->drag_source_motion_notify_event_id = gtk_signal_connect (GTK_OBJECT (canvas), "motion_notify_event", GTK_SIGNAL_FUNC (e_table_drag_source_event_cb), - site); + table); table->site = site; } -- cgit