aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-tree.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-12-04 20:11:16 +0800
committerChris Lahey <clahey@src.gnome.org>2001-12-04 20:11:16 +0800
commit4b74a42adf77437cebda06977077664dc66cdf8c (patch)
tree6529701cfc4e5d4899720dbb64d305228835d602 /widgets/table/e-tree.c
parent1994bab834d2b5d31608dd7c48882e673291d320 (diff)
downloadgsoc2013-evolution-4b74a42adf77437cebda06977077664dc66cdf8c.tar.gz
gsoc2013-evolution-4b74a42adf77437cebda06977077664dc66cdf8c.tar.zst
gsoc2013-evolution-4b74a42adf77437cebda06977077664dc66cdf8c.zip
Merging changes:
2001-11-28 Christopher James Lahey <clahey@ximian.com> * e-table.c (context_destroyed), e-tree.c (context_destroyed): Check for et being destroyed here before doing anything. Fixes Ximian bug #15728. svn path=/trunk/; revision=14864
Diffstat (limited to 'widgets/table/e-tree.c')
-rw-r--r--widgets/table/e-tree.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/widgets/table/e-tree.c b/widgets/table/e-tree.c
index 300644f750..3e15e1db94 100644
--- a/widgets/table/e-tree.c
+++ b/widgets/table/e-tree.c
@@ -2375,12 +2375,14 @@ static void
context_destroyed (gpointer data)
{
ETree *et = data;
- et->priv->last_drop_x = 0;
- et->priv->last_drop_y = 0;
- et->priv->last_drop_time = 0;
- et->priv->last_drop_context = NULL;
- scroll_off (et);
- hover_off (et);
+ if (et->priv) {
+ et->priv->last_drop_x = 0;
+ et->priv->last_drop_y = 0;
+ et->priv->last_drop_time = 0;
+ et->priv->last_drop_context = NULL;
+ scroll_off (et);
+ hover_off (et);
+ }
gtk_object_unref (GTK_OBJECT (et));
}