aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorMike Kestner <mkestner@ximian.com>2002-08-27 03:53:20 +0800
committerMike Kestner <mkestner@src.gnome.org>2002-08-27 03:53:20 +0800
commitc6db7aef2b71df70d99f354cb7953438b1014876 (patch)
treeb22f566e23e64013f3cea669d08aa7dbd1b1bfb4 /addressbook
parentc19d5d6d8bafd96921522cf90eb0cf0b06cd82c3 (diff)
downloadgsoc2013-evolution-c6db7aef2b71df70d99f354cb7953438b1014876.tar.gz
gsoc2013-evolution-c6db7aef2b71df70d99f354cb7953438b1014876.tar.zst
gsoc2013-evolution-c6db7aef2b71df70d99f354cb7953438b1014876.zip
stop the view before unref, in case the listener has pending events.
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. svn path=/trunk/; revision=17867
Diffstat (limited to 'addressbook')
-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));
}