aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend
diff options
context:
space:
mode:
authorChris Toshok <toshok@src.gnome.org>2000-04-11 03:18:54 +0800
committerChris Toshok <toshok@src.gnome.org>2000-04-11 03:18:54 +0800
commita4cf7784565ede5fb615382fb1f273a469998878 (patch)
tree961e54c1fb00c1c966565b6f529c50505feaab14 /addressbook/backend
parent22cac10b8f82a9eb0efdacbd75c4bff75d89e20f (diff)
downloadgsoc2013-evolution-a4cf7784565ede5fb615382fb1f273a469998878.tar
gsoc2013-evolution-a4cf7784565ede5fb615382fb1f273a469998878.tar.gz
gsoc2013-evolution-a4cf7784565ede5fb615382fb1f273a469998878.tar.bz2
gsoc2013-evolution-a4cf7784565ede5fb615382fb1f273a469998878.tar.lz
gsoc2013-evolution-a4cf7784565ede5fb615382fb1f273a469998878.tar.xz
gsoc2013-evolution-a4cf7784565ede5fb615382fb1f273a469998878.tar.zst
gsoc2013-evolution-a4cf7784565ede5fb615382fb1f273a469998878.zip
use view != NULL instead of checking db_error when we call
* addressbook/backend/pas/pas-backend-file.c (pas_backend_file_process_get_book_view): use view != NULL instead of checking db_error when we call pas_book_respond_get_book_view) svn path=/trunk/; revision=2375
Diffstat (limited to 'addressbook/backend')
-rw-r--r--addressbook/backend/pas/pas-backend-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/addressbook/backend/pas/pas-backend-file.c b/addressbook/backend/pas/pas-backend-file.c
index 0dcf745d38..6981f006b0 100644
--- a/addressbook/backend/pas/pas-backend-file.c
+++ b/addressbook/backend/pas/pas-backend-file.c
@@ -414,7 +414,7 @@ pas_backend_file_process_get_book_view (PASBackend *backend,
GTK_SIGNAL_FUNC(view_destroy), book);
pas_book_respond_get_book_view (book,
- (db_error == 0
+ (view != NULL
? Evolution_BookListener_Success
: Evolution_BookListener_CardNotFound /* XXX */),
book_view);