aboutsummaryrefslogtreecommitdiffstats
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
parent22cac10b8f82a9eb0efdacbd75c4bff75d89e20f (diff)
downloadgsoc2013-evolution-a4cf7784565ede5fb615382fb1f273a469998878.tar.gz
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
-rw-r--r--ChangeLog6
-rw-r--r--addressbook/backend/pas/pas-backend-file.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 42e9a132a5..76fc77d72e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2000-04-10 Chris Toshok <toshok@helixcode.com>
+
+ * 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)
+
2000-04-10 Dan Winship <danw@helixcode.com>
* configure.in: check for mkstemp
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);