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
This commit is contained in:
Christopher James Lahey
2000-05-09 17:19:35 +00:00
committed by Chris Lahey
parent a588f367b2
commit d7afd9ba2a
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook.c: Destroy the view object when
leaving the minicard view.
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* gui/minicard/e-reflow-sorted.c: Fixed reflow sorting to call

View File

@ -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