diff options
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/ChangeLog | 6 | ||||
-rw-r--r-- | addressbook/gui/widgets/e-addressbook-model.c | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index ca1b2bbbfd..392d90a69a 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,9 @@ +2003-12-05 Chris Toshok <toshok@ximian.com> + + * gui/widgets/e-addressbook-model.c (book_view_loaded): call + remove_book_view/free_data here as well, to guard against multiple + book_view's being loaded. + 2003-12-05 Hans Petter Jansson <hpj@ximian.com> * gui/widgets/e-addressbook-view.etspec: Clean up and sync with 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); |