diff options
author | Chris Toshok <toshok@ximian.com> | 2002-11-09 12:10:06 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2002-11-09 12:10:06 +0800 |
commit | 28bc0361b9db902a9bcca18cfc5c1b9cc37a7229 (patch) | |
tree | a115a4c945d9d6cc6234437d0d2c12968a7a4602 /addressbook/gui/widgets/e-minicard-widget.c | |
parent | 0e0185635f94d23443341fe15dd8fef4951e8db6 (diff) | |
download | gsoc2013-evolution-28bc0361b9db902a9bcca18cfc5c1b9cc37a7229.tar gsoc2013-evolution-28bc0361b9db902a9bcca18cfc5c1b9cc37a7229.tar.gz gsoc2013-evolution-28bc0361b9db902a9bcca18cfc5c1b9cc37a7229.tar.bz2 gsoc2013-evolution-28bc0361b9db902a9bcca18cfc5c1b9cc37a7229.tar.lz gsoc2013-evolution-28bc0361b9db902a9bcca18cfc5c1b9cc37a7229.tar.xz gsoc2013-evolution-28bc0361b9db902a9bcca18cfc5c1b9cc37a7229.tar.zst gsoc2013-evolution-28bc0361b9db902a9bcca18cfc5c1b9cc37a7229.zip |
guard against multiple invocations. (remove_book_view): same.
2002-11-08 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-addressbook-model.c (free_data): guard against
multiple invocations.
(remove_book_view): same.
(addressbook_dispose): same.
* gui/widgets/e-addressbook-view.c (e_addressbook_view_dispose):
same.
* gui/widgets/e-minicard-view-widget.c
(e_minicard_view_widget_dispose): same.
* gui/widgets/e-minicard-view.c (e_minicard_view_dispose): same.
* gui/widgets/e-minicard-widget.c (e_minicard_widget_dispose):
same.
svn path=/trunk/; revision=18685
Diffstat (limited to 'addressbook/gui/widgets/e-minicard-widget.c')
-rw-r--r-- | addressbook/gui/widgets/e-minicard-widget.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/addressbook/gui/widgets/e-minicard-widget.c b/addressbook/gui/widgets/e-minicard-widget.c index 75ccfccc98..5c8483ac88 100644 --- a/addressbook/gui/widgets/e-minicard-widget.c +++ b/addressbook/gui/widgets/e-minicard-widget.c @@ -181,8 +181,10 @@ e_minicard_widget_dispose (GObject *object) { EMinicardWidget *emw = E_MINICARD_WIDGET(object); - if (emw->card) + if (emw->card) { g_object_unref (emw->card); + emw->card = NULL; + } if (G_OBJECT_CLASS(parent_class)->dispose) G_OBJECT_CLASS(parent_class)->dispose(object); |