diff options
author | Chris Toshok <toshok@src.gnome.org> | 2000-04-11 03:18:54 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2000-04-11 03:18:54 +0800 |
commit | a4cf7784565ede5fb615382fb1f273a469998878 (patch) | |
tree | 961e54c1fb00c1c966565b6f529c50505feaab14 | |
parent | 22cac10b8f82a9eb0efdacbd75c4bff75d89e20f (diff) | |
download | gsoc2013-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-- | ChangeLog | 6 | ||||
-rw-r--r-- | addressbook/backend/pas/pas-backend-file.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -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); |