diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-12-01 10:53:20 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-02-20 23:04:25 +0800 |
commit | 23f5773903d64a554d977ae7d0ebbaca73528f1f (patch) | |
tree | 104e1a59da8bf96b004bce204b79f47bbe0a6d13 /plugins/calendar-http | |
parent | 49bc4c2d765ee1780c23fdc9f42152850dabb220 (diff) | |
download | gsoc2013-evolution-23f5773903d64a554d977ae7d0ebbaca73528f1f.tar.gz gsoc2013-evolution-23f5773903d64a554d977ae7d0ebbaca73528f1f.tar.zst gsoc2013-evolution-23f5773903d64a554d977ae7d0ebbaca73528f1f.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'plugins/calendar-http')
-rw-r--r-- | plugins/calendar-http/calendar-http.c | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/plugins/calendar-http/calendar-http.c b/plugins/calendar-http/calendar-http.c index fcf7002ab5..f88b6af879 100644 --- a/plugins/calendar-http/calendar-http.c +++ b/plugins/calendar-http/calendar-http.c @@ -62,10 +62,12 @@ url_changed (GtkEntry *entry, if (uri->scheme && strncmp (uri->scheme, "https", sizeof ("https") - 1) == 0) { gpointer secure_checkbox; - secure_checkbox = g_object_get_data (G_OBJECT (gtk_widget_get_parent (GTK_WIDGET (entry))), - "secure_checkbox"); + secure_checkbox = g_object_get_data ( + G_OBJECT (gtk_widget_get_parent (GTK_WIDGET (entry))), + "secure_checkbox"); - gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (secure_checkbox), TRUE); + gtk_toggle_button_set_active ( + GTK_TOGGLE_BUTTON (secure_checkbox), TRUE); } soup_uri_set_user (uri, e_source_get_property (source, "username")); @@ -126,7 +128,8 @@ e_calendar_http_refresh (EPlugin *epl, return NULL; } - return e_plugin_util_add_refresh (data->parent, _("Re_fresh:"), t->source, "refresh"); + return e_plugin_util_add_refresh ( + data->parent, _("Re_fresh:"), t->source, "refresh"); } GtkWidget * @@ -142,10 +145,14 @@ e_calendar_http_secure (EPlugin *epl, return NULL; } - secure_setting = e_plugin_util_add_check (data->parent, _("Use _secure connection"), t->source, "use_ssl", "1", "0"); + secure_setting = e_plugin_util_add_check ( + data->parent, _("Use _secure connection"), + t->source, "use_ssl", "1", "0"); /* Store pointer to secure checkbox so we can retrieve it in url_changed() */ - g_object_set_data (G_OBJECT (data->parent), "secure_checkbox", (gpointer)secure_setting); + g_object_set_data ( + G_OBJECT (data->parent), "secure_checkbox", + (gpointer) secure_setting); return secure_setting; } |