diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-01-29 23:50:53 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-01-30 09:22:57 +0800 |
commit | 21ab8044dab93b6367463593628ec42befda4f67 (patch) | |
tree | 50948c4b0675041b615b5113d7b9176f2d71db99 /plugins/google-account-setup | |
parent | 8fade835168c511a89813019aef6d0ee02d63b5d (diff) | |
download | gsoc2013-evolution-21ab8044dab93b6367463593628ec42befda4f67.tar gsoc2013-evolution-21ab8044dab93b6367463593628ec42befda4f67.tar.gz gsoc2013-evolution-21ab8044dab93b6367463593628ec42befda4f67.tar.bz2 gsoc2013-evolution-21ab8044dab93b6367463593628ec42befda4f67.tar.lz gsoc2013-evolution-21ab8044dab93b6367463593628ec42befda4f67.tar.xz gsoc2013-evolution-21ab8044dab93b6367463593628ec42befda4f67.tar.zst gsoc2013-evolution-21ab8044dab93b6367463593628ec42befda4f67.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'plugins/google-account-setup')
-rw-r--r-- | plugins/google-account-setup/google-contacts-source.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/plugins/google-account-setup/google-contacts-source.c b/plugins/google-account-setup/google-contacts-source.c index 85e52df1c3..46f0d4362c 100644 --- a/plugins/google-account-setup/google-contacts-source.c +++ b/plugins/google-account-setup/google-contacts-source.c @@ -213,8 +213,12 @@ check_username_filled (ESource *source) g_return_val_if_fail (source != NULL, NULL); - if (g_ascii_strncasecmp (GOOGLE_BASE_URI, e_source_group_peek_base_uri (e_source_peek_group (source)), strlen (GOOGLE_BASE_URI)) == 0) { - gchar *username = g_strdup (e_source_get_property (source, "username")); + if (g_ascii_strncasecmp ( + GOOGLE_BASE_URI, e_source_group_peek_base_uri ( + e_source_peek_group (source)), strlen (GOOGLE_BASE_URI)) == 0) { + gchar *username; + + username = g_strdup (e_source_get_property (source, "username")); if (username) username = g_strstrip (username); @@ -238,7 +242,7 @@ plugin_google_contacts_check (EPlugin *epl, EConfigHookPageCheckData *data) t = (EABConfigTargetSource *) data->target; g_return_val_if_fail (t->source != NULL, NULL); - return check_username_filled (t->source); + return check_username_filled (t->source); } struct ui_data { |