diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-01-31 01:20:16 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-01-31 01:45:55 +0800 |
commit | 763081aa862908e845bc780b784d939a07abd508 (patch) | |
tree | 1a060b3cc1ae28e915348939cbbcdd28416a13b5 /modules/addressbook | |
parent | 0ff254b3a8946244b645f2ea74316926aa109ab6 (diff) | |
download | gsoc2013-evolution-763081aa862908e845bc780b784d939a07abd508.tar.gz gsoc2013-evolution-763081aa862908e845bc780b784d939a07abd508.tar.zst gsoc2013-evolution-763081aa862908e845bc780b784d939a07abd508.zip |
Fix up error handling around e_book/cal_client_connect_finish().
Diffstat (limited to 'modules/addressbook')
-rw-r--r-- | modules/addressbook/e-book-shell-backend.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/modules/addressbook/e-book-shell-backend.c b/modules/addressbook/e-book-shell-backend.c index 3cc5c9d722..4de01f9e1c 100644 --- a/modules/addressbook/e-book-shell-backend.c +++ b/modules/addressbook/e-book-shell-backend.c @@ -108,9 +108,7 @@ book_shell_backend_new_contact_cb (GObject *source_object, /* XXX Handle errors better. */ if (error != NULL) { - g_warning ( - "%s: Failed to open book: %s", - G_STRFUNC, error->message); + g_warning ("%s: %s", G_STRFUNC, error->message); g_error_free (error); goto exit; } @@ -149,9 +147,7 @@ book_shell_backend_new_contact_list_cb (GObject *source_object, /* XXX Handle errors better. */ if (error != NULL) { - g_warning ( - "%s: Failed to open book: %s", - G_STRFUNC, error->message); + g_warning ("%s: %s", G_STRFUNC, error->message); g_error_free (error); goto exit; } |