diff options
author | Chris Toshok <toshok@ximian.com> | 2003-07-05 14:20:13 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2003-07-05 14:20:13 +0800 |
commit | aecbd37011e179c222395f8e0553cd40cd96117b (patch) | |
tree | f61393f7ccfbed7a77c7225f0dd748b1561e82cf /widgets/misc | |
parent | 64a0712bb14feecb3780c906240ae3b45d34bfbd (diff) | |
download | gsoc2013-evolution-aecbd37011e179c222395f8e0553cd40cd96117b.tar gsoc2013-evolution-aecbd37011e179c222395f8e0553cd40cd96117b.tar.gz gsoc2013-evolution-aecbd37011e179c222395f8e0553cd40cd96117b.tar.bz2 gsoc2013-evolution-aecbd37011e179c222395f8e0553cd40cd96117b.tar.lz gsoc2013-evolution-aecbd37011e179c222395f8e0553cd40cd96117b.tar.xz gsoc2013-evolution-aecbd37011e179c222395f8e0553cd40cd96117b.tar.zst gsoc2013-evolution-aecbd37011e179c222395f8e0553cd40cd96117b.zip |
make sure we don't unref the sorter more than once.
2003-07-04 Chris Toshok <toshok@ximian.com>
* gal/widgets/e-reflow.c (e_reflow_dispose): make sure we don't
unref the sorter more than once.
svn path=/trunk/; revision=21741
Diffstat (limited to 'widgets/misc')
-rw-r--r-- | widgets/misc/e-reflow.c | 5 |
1 files changed, 4 insertions, 1 deletions
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); } |