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 | |
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')
-rw-r--r-- | plugins/caldav/caldav-source.c | 4 | ||||
-rw-r--r-- | plugins/google-account-setup/google-contacts-source.c | 10 | ||||
-rw-r--r-- | plugins/vcard-inline/vcard-inline.c | 7 |
3 files changed, 15 insertions, 6 deletions
diff --git a/plugins/caldav/caldav-source.c b/plugins/caldav/caldav-source.c index 8c99c81567..6f50ae4dcb 100644 --- a/plugins/caldav/caldav-source.c +++ b/plugins/caldav/caldav-source.c @@ -252,7 +252,9 @@ oge_caldav (EPlugin *epl, g_free (username); mail = e_plugin_util_add_entry (parent, _("User e-_mail:"), source, "usermail"); - autoschedule = e_plugin_util_add_check (parent, _("Server _handles meeting invitations"), source, "autoschedule", "1", "0"); + autoschedule = e_plugin_util_add_check ( + parent, _("Server _handles meeting invitations"), + source, "autoschedule", "1", "0"); browse_cal = gtk_button_new_with_mnemonic (_("Brows_e server for a calendar")); gtk_widget_show (browse_cal); 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 { diff --git a/plugins/vcard-inline/vcard-inline.c b/plugins/vcard-inline/vcard-inline.c index dfa19666e9..c4ab567b22 100644 --- a/plugins/vcard-inline/vcard-inline.c +++ b/plugins/vcard-inline/vcard-inline.c @@ -158,14 +158,17 @@ org_gnome_vcard_inline_save_cb (VCardInlinePObject *vcard_object) dialog = e_source_selector_dialog_new (NULL, vcard_object->source_list); - e_source_selector_dialog_select_default_source (E_SOURCE_SELECTOR_DIALOG (dialog)); + e_source_selector_dialog_select_default_source ( + E_SOURCE_SELECTOR_DIALOG (dialog)); if (gtk_dialog_run (GTK_DIALOG (dialog)) != GTK_RESPONSE_OK) { gtk_widget_destroy (dialog); return; } - source = e_source_selector_dialog_peek_primary_selection (E_SOURCE_SELECTOR_DIALOG (dialog)); + source = e_source_selector_dialog_peek_primary_selection ( + E_SOURCE_SELECTOR_DIALOG (dialog)); + gtk_widget_destroy (dialog); g_return_if_fail (source != NULL); |