From f59681796df8fe0138a1754abbe8ec781bc1535e Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 1 Jul 2011 00:07:26 -0400 Subject: Coding style and whitespace cleanup. --- plugins/google-account-setup/google-source.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'plugins/google-account-setup/google-source.c') diff --git a/plugins/google-account-setup/google-source.c b/plugins/google-account-setup/google-source.c index 5643c4f0ba..5b12759f08 100644 --- a/plugins/google-account-setup/google-source.c +++ b/plugins/google-account-setup/google-source.c @@ -73,10 +73,14 @@ ensure_google_source_group (void) ESourceList *slist; GError *error = NULL; - if (!e_cal_client_get_sources (&slist, E_CAL_CLIENT_SOURCE_TYPE_EVENTS, &error)) { - g_debug ("%s: Could not get calendar source list: %s", G_STRFUNC, error ? error->message : "Unknown error"); - if (error) - g_error_free (error); + e_cal_client_get_sources ( + &slist, E_CAL_CLIENT_SOURCE_TYPE_EVENTS, &error); + + if (error != NULL) { + g_warning ( + "%s: Could not get calendar source list: %s", + G_STRFUNC, error->message); + g_error_free (error); return; } -- cgit v1.2.3