aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets/e-addressbook-model.c
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui/widgets/e-addressbook-model.c')
-rw-r--r--addressbook/gui/widgets/e-addressbook-model.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/addressbook/gui/widgets/e-addressbook-model.c b/addressbook/gui/widgets/e-addressbook-model.c
index 5a8088dc0a..992b42b852 100644
--- a/addressbook/gui/widgets/e-addressbook-model.c
+++ b/addressbook/gui/widgets/e-addressbook-model.c
@@ -449,6 +449,9 @@ book_view_loaded (EBook *book, EBookStatus status, EBookView *book_view, gpointe
return;
}
+ remove_book_view (model);
+ free_data (model);
+
model->book_view = book_view;
if (model->book_view)
g_object_ref (model->book_view);