aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
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/gui
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/gui')
-rw-r--r--addressbook/gui/widgets/e-addressbook-model.c1
1 files changed, 1 insertions, 0 deletions
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));
}