diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 70b7181391..c0564bbffc 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,8 @@ +2000-05-09 Christopher James Lahey + + * gui/component/addressbook.c: Destroy the view object when + leaving the minicard view. + 2000-05-09 Christopher James Lahey * gui/minicard/e-reflow-sorted.c: Fixed reflow sorting to call 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