diff options
author | Chris Toshok <toshok@helixcode.com> | 2000-08-22 08:24:03 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2000-08-22 08:24:03 +0800 |
commit | bfd2e9c92dc1cdc05eafbd5c3e5774d443c9a881 (patch) | |
tree | 19c2d3dafac85c07ce59a502b75da3af6e929e95 /widgets | |
parent | 5d8ff7ab732d82019e85d4c3821e68a9e9306021 (diff) | |
download | gsoc2013-evolution-bfd2e9c92dc1cdc05eafbd5c3e5774d443c9a881.tar.gz gsoc2013-evolution-bfd2e9c92dc1cdc05eafbd5c3e5774d443c9a881.tar.zst gsoc2013-evolution-bfd2e9c92dc1cdc05eafbd5c3e5774d443c9a881.zip |
pass table, not site as the closure for these drag signals, since
2000-08-21 Chris Toshok <toshok@helixcode.com>
* 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
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/e-table/ChangeLog | 6 | ||||
-rw-r--r-- | widgets/e-table/e-table.c | 4 | ||||
-rw-r--r-- | widgets/table/e-table.c | 4 |
3 files changed, 10 insertions, 4 deletions
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 <toshok@helixcode.com> + + * 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 <clahey@helixcode.com> * 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; } |