diff options
Diffstat (limited to 'addressbook/gui/component/addressbook.c')
-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 |