aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table/e-table.c')
-rw-r--r--widgets/table/e-table.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c
index 61e911f4ea..d9afb4804f 100644
--- a/widgets/table/e-table.c
+++ b/widgets/table/e-table.c
@@ -2462,11 +2462,13 @@ static void
context_destroyed (gpointer data)
{
ETable *et = data;
- et->last_drop_x = 0;
- et->last_drop_y = 0;
- et->last_drop_time = 0;
- et->last_drop_context = NULL;
- scroll_off (et);
+ if (!GTK_OBJECT_DESTROYED (et)) {
+ et->last_drop_x = 0;
+ et->last_drop_y = 0;
+ et->last_drop_time = 0;
+ et->last_drop_context = NULL;
+ scroll_off (et);
+ }
gtk_object_unref (GTK_OBJECT (et));
}