aboutsummaryrefslogtreecommitdiffstats
path: root/capplet
diff options
context:
space:
mode:
Diffstat (limited to 'capplet')
-rw-r--r--capplet/settings/mail-capplet-shell.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/capplet/settings/mail-capplet-shell.c b/capplet/settings/mail-capplet-shell.c
index a22bb88dcf..5a70fad6d4 100644
--- a/capplet/settings/mail-capplet-shell.c
+++ b/capplet/settings/mail-capplet-shell.c
@@ -285,9 +285,12 @@ setup_abooks (void)
ESourceList *list = NULL;
ESourceGroup *on_this_computer = NULL;
ESource *personal_source = NULL;
+ GError *error = NULL;
- if (!e_book_get_addressbooks (&list, NULL)) {
- g_warning ("Unable to get books\n");
+ if (!e_book_client_get_sources (&list, &error)) {
+ g_debug ("%s: Unable to get books: %s", G_STRFUNC, error ? error->message : "Unknown error");
+ if (error)
+ g_error_free (error);
return;
}