diff options
-rw-r--r-- | addressbook/ChangeLog | 5 | ||||
-rw-r--r-- | addressbook/gui/component/addressbook.c | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 70b7181391..c0564bbffc 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,5 +1,10 @@ 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 reflow_request when sorting on an item changes. 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 |