27 lines
950 B
Diff
27 lines
950 B
Diff
Index: addressbook/backends/file/e-book-backend-file.c
|
|
===================================================================
|
|
RCS file: /cvs/gnome/evolution-data-server/addressbook/backends/file/e-book-backend-file.c,v
|
|
retrieving revision 1.41
|
|
diff -u -p -r1.41 e-book-backend-file.c
|
|
--- addressbook/backends/file/e-book-backend-file.c 16 Jan 2006 16:36:14 -0000 1.41
|
|
+++ addressbook/backends/file/e-book-backend-file.c 11 Apr 2006 11:25:19 -0000
|
|
@@ -516,6 +516,8 @@ book_view_thread (gpointer data)
|
|
{
|
|
EDataBookView *book_view = data;
|
|
FileBackendSearchClosure *closure = get_closure (book_view);
|
|
+ if (!closure)
|
|
+ return;
|
|
EBookBackendFile *bf = closure->bf;
|
|
const char *query;
|
|
DB *db;
|
|
@@ -652,6 +654,9 @@ e_book_backend_file_stop_book_view (EBoo
|
|
{
|
|
FileBackendSearchClosure *closure = get_closure (book_view);
|
|
gboolean need_join = FALSE;
|
|
+
|
|
+ if (!closure)
|
|
+ return;
|
|
|
|
d(printf ("stopping query\n"));
|
|
g_mutex_lock (closure->mutex);
|