From 169ffee1ef0d4d8b95c1d5cb87fe4bf5e00cda95 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Tue, 12 Nov 2002 00:10:16 +0000 Subject: need to assign priv here, fixes a crash. 2002-11-11 Chris Toshok * e-task-widget.c (impl_finalize): need to assign priv here, fixes a crash. svn path=/trunk/; revision=18715 --- shell/ChangeLog | 5 +++++ shell/e-task-widget.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/shell/ChangeLog b/shell/ChangeLog index ac839c82d1..75530ea2dd 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,8 @@ +2002-11-11 Chris Toshok + + * e-task-widget.c (impl_finalize): need to assign priv here, fixes + a crash. + 2002-11-11 Ettore Perazzoli * e-shell.c (impl_dispose): Do unref the config_listener here [I diff --git a/shell/e-task-widget.c b/shell/e-task-widget.c index e37ddc1e34..cdbeb987e1 100644 --- a/shell/e-task-widget.c +++ b/shell/e-task-widget.c @@ -63,6 +63,8 @@ impl_dispose (GObject *object) task_widget = E_TASK_WIDGET (object); + priv = task_widget->priv; + if (priv->tooltips != NULL) { g_object_unref (priv->tooltips); priv->tooltips = NULL; -- cgit