From aecbd37011e179c222395f8e0553cd40cd96117b Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Sat, 5 Jul 2003 06:20:13 +0000 Subject: make sure we don't unref the sorter more than once. 2003-07-04 Chris Toshok * gal/widgets/e-reflow.c (e_reflow_dispose): make sure we don't unref the sorter more than once. svn path=/trunk/; revision=21741 --- widgets/misc/e-reflow.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/widgets/misc/e-reflow.c b/widgets/misc/e-reflow.c index 8b7e8dc567..cacf3848ba 100644 --- a/widgets/misc/e-reflow.c +++ b/widgets/misc/e-reflow.c @@ -773,7 +773,10 @@ e_reflow_dispose (GObject *object) g_free(reflow->empty_message); reflow->empty_message = NULL; - g_object_unref (reflow->sorter); + if (reflow->sorter) { + g_object_unref (reflow->sorter); + reflow->sorter = NULL; + } G_OBJECT_CLASS(parent_class)->dispose (object); } -- cgit