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/e-table/ChangeLog | 6 ++++++ widgets/e-table/e-table.c | 4 ++-- widgets/table/e-table.c | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) (limited to 'widgets') diff --git a/widgets/e-table/ChangeLog b/widgets/e-table/ChangeLog index 0fdef6508c..cf4a023179 100644 --- a/widgets/e-table/ChangeLog +++ b/widgets/e-table/ChangeLog @@ -1,3 +1,9 @@ +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. + 2000-08-20 Christopher James Lahey * e-table-selection-model.c, e-table-selection-model.h: Added diff --git a/widgets/e-table/e-table.c b/widgets/e-table/e-table.c index e2f7edec5e..bd6d7bc60c 100644 --- a/widgets/e-table/e-table.c +++ b/widgets/e-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; } 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