aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/gui/widgets/e-addressbook-model.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index dbe3b717fc..bfccc93641 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,8 @@
+2002-08-25 Mike Kestner <mkestner@ximian.com>
+
+ * gui/widgets/e-addressbook-view.c (remove_book_view): stop the
+ view before unref, in case the listener has pending events.
+
2002-08-20 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook.c (book_open_cb): not sure what i was
diff --git a/addressbook/gui/widgets/e-addressbook-model.c b/addressbook/gui/widgets/e-addressbook-model.c
index 80ff8debf1..881a8e4eed 100644
--- a/addressbook/gui/widgets/e-addressbook-model.c
+++ b/addressbook/gui/widgets/e-addressbook-model.c
@@ -94,6 +94,7 @@ remove_book_view(EAddressbookModel *model)
model->search_in_progress = FALSE;
if (model->book_view) {
+ e_book_view_stop (model->book_view);
gtk_object_unref(GTK_OBJECT(model->book_view));
}