diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-05-10 01:19:35 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-05-10 01:19:35 +0800 |
commit | d7afd9ba2a08bb5d1ea25979ad0e84beced3a4d0 (patch) | |
tree | ea4dfd76abecd8fc88354a8893a678060ebc8bf8 /addressbook/gui/component | |
parent | a588f367b2ef4fab4ec701667551454da084eed3 (diff) | |
download | gsoc2013-evolution-d7afd9ba2a08bb5d1ea25979ad0e84beced3a4d0.tar gsoc2013-evolution-d7afd9ba2a08bb5d1ea25979ad0e84beced3a4d0.tar.gz gsoc2013-evolution-d7afd9ba2a08bb5d1ea25979ad0e84beced3a4d0.tar.bz2 gsoc2013-evolution-d7afd9ba2a08bb5d1ea25979ad0e84beced3a4d0.tar.lz gsoc2013-evolution-d7afd9ba2a08bb5d1ea25979ad0e84beced3a4d0.tar.xz gsoc2013-evolution-d7afd9ba2a08bb5d1ea25979ad0e84beced3a4d0.tar.zst gsoc2013-evolution-d7afd9ba2a08bb5d1ea25979ad0e84beced3a4d0.zip |
Destroy the view object when leaving the minicard view.
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook.c: Destroy the view object when
leaving the minicard view.
svn path=/trunk/; revision=2953
Diffstat (limited to 'addressbook/gui/component')
-rw-r--r-- | addressbook/gui/component/addressbook.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c index 13f936188e..825288fa49 100644 --- a/addressbook/gui/component/addressbook.c +++ b/addressbook/gui/component/addressbook.c @@ -574,13 +574,16 @@ set_prop (BonoboPropertyBag *bag, static void teardown_minicard_view (AddressbookView *view) { + if (view->view) { + gtk_object_destroy(GTK_OBJECT(view->view)); + view->view = NULL; + } if (view->minicard_vbox) { gtk_widget_destroy(view->minicard_vbox); view->minicard_vbox = NULL; } view->canvas = NULL; - view->view = NULL; } static void |