diff options
Diffstat (limited to 'addressbook/backend/ebook/test-client.c')
-rw-r--r-- | addressbook/backend/ebook/test-client.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/addressbook/backend/ebook/test-client.c b/addressbook/backend/ebook/test-client.c index b99ebdae5e..3091fede1d 100644 --- a/addressbook/backend/ebook/test-client.c +++ b/addressbook/backend/ebook/test-client.c @@ -102,6 +102,14 @@ ebook_create (void) book = e_book_new (); + if (!book) { + printf ("%s: %s: Couldn't create EBook, bailing.\n", + __FILE__, + __FUNCTION__); + return FALSE; + } + + if (! e_book_load_uri (book, "file:/tmp/test.db", book_open_cb, NULL)) { printf ("error calling load_uri!\n"); } |