diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-02-08 01:36:53 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-02-08 02:26:37 +0800 |
commit | 49ef32b76c55cbefba53568f02028dddf23a9bc9 (patch) | |
tree | 682e825cab580d4c401f0a138ee29a8534336591 /plugins/groupwise-features | |
parent | 2ef43b4cf40d21c61d39c5a938e428afa9074e2b (diff) | |
download | gsoc2013-evolution-49ef32b76c55cbefba53568f02028dddf23a9bc9.tar gsoc2013-evolution-49ef32b76c55cbefba53568f02028dddf23a9bc9.tar.gz gsoc2013-evolution-49ef32b76c55cbefba53568f02028dddf23a9bc9.tar.bz2 gsoc2013-evolution-49ef32b76c55cbefba53568f02028dddf23a9bc9.tar.lz gsoc2013-evolution-49ef32b76c55cbefba53568f02028dddf23a9bc9.tar.xz gsoc2013-evolution-49ef32b76c55cbefba53568f02028dddf23a9bc9.tar.zst gsoc2013-evolution-49ef32b76c55cbefba53568f02028dddf23a9bc9.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'plugins/groupwise-features')
-rw-r--r-- | plugins/groupwise-features/junk-mail-settings.c | 4 | ||||
-rw-r--r-- | plugins/groupwise-features/mail-send-options.c | 8 | ||||
-rw-r--r-- | plugins/groupwise-features/status-track.c | 11 |
3 files changed, 17 insertions, 6 deletions
diff --git a/plugins/groupwise-features/junk-mail-settings.c b/plugins/groupwise-features/junk-mail-settings.c index 61a5cb0ac9..b868e28c5a 100644 --- a/plugins/groupwise-features/junk-mail-settings.c +++ b/plugins/groupwise-features/junk-mail-settings.c @@ -104,7 +104,9 @@ gw_junk_mail_settings_cb (GtkAction *action, EShellView *shell_view) while (page_count > 0 ) { notebook = gtk_notebook_new (); gtk_notebook_append_page ((GtkNotebook *)notebook, box, NULL); - gtk_box_pack_start ((GtkBox *) ((GtkDialog *) dialog)->vbox, notebook, TRUE, TRUE, 0); + gtk_box_pack_start ( + (GtkBox *) ((GtkDialog *) dialog)->vbox, + notebook, TRUE, TRUE, 0); } if (page_count == 0) diff --git a/plugins/groupwise-features/mail-send-options.c b/plugins/groupwise-features/mail-send-options.c index 1db2209f4b..d6c6f32095 100644 --- a/plugins/groupwise-features/mail-send-options.c +++ b/plugins/groupwise-features/mail-send-options.c @@ -156,6 +156,7 @@ from_changed_cb (EComposerFromHeader *header, EMsgComposer *composer) { GtkActionGroup *group; GtkAction *action; + EAccount *account; g_return_if_fail (header != NULL); g_return_if_fail (composer != NULL); @@ -166,7 +167,8 @@ from_changed_cb (EComposerFromHeader *header, EMsgComposer *composer) action = gtk_action_group_get_action (group, "gw-send-options"); g_return_if_fail (action != NULL); - gtk_action_set_visible (action, account_is_groupwise (e_composer_from_header_get_active (header))); + account = e_composer_from_header_get_active (header); + gtk_action_set_visible (action, account_is_groupwise (account)); } static void @@ -216,7 +218,9 @@ gw_ui_composer_actions (GtkUIManager *manager, EMsgComposer *composer) header = e_composer_header_table_get_header (headers, E_COMPOSER_HEADER_FROM); from_changed_cb (E_COMPOSER_FROM_HEADER (header), composer); - g_signal_connect (G_OBJECT (header), "changed", G_CALLBACK (from_changed_cb), composer); + g_signal_connect ( + header, "changed", + G_CALLBACK (from_changed_cb), composer); return TRUE; } diff --git a/plugins/groupwise-features/status-track.c b/plugins/groupwise-features/status-track.c index f1b05ea477..d8cddd03fe 100644 --- a/plugins/groupwise-features/status-track.c +++ b/plugins/groupwise-features/status-track.c @@ -60,7 +60,9 @@ format_date (const gchar * value) } static CamelMimeMessage * -get_selected_message (EShellView *shell_view, CamelFolder **folder, gchar **selected_uid) +get_selected_message (EShellView *shell_view, + CamelFolder **folder, + gchar **selected_uid) { CamelMimeMessage *msg = NULL; EShellContent *shell_content; @@ -85,7 +87,8 @@ get_selected_message (EShellView *shell_view, CamelFolder **folder, gchar **sele } void -gw_track_message_status_cb (GtkAction *action, EShellView *shell_view) +gw_track_message_status_cb (GtkAction *action, + EShellView *shell_view) { CamelMimeMessage *msg = NULL; CamelFolder *folder = NULL; @@ -188,7 +191,9 @@ gw_track_message_status_cb (GtkAction *action, EShellView *shell_view) if (E_IS_GW_CONNECTION(cnc)) { GSList *recipient_list; - e_gw_connection_get_item (cnc, get_container_id (cnc, "Sent Items"), selected_uid, "distribution recipientStatus", &gwitem); + e_gw_connection_get_item ( + cnc, get_container_id (cnc, "Sent Items"), + selected_uid, "distribution recipientStatus", &gwitem); recipient_list = e_gw_item_get_recipient_list (gwitem); for (;recipient_list != NULL; recipient_list = recipient_list->next) { |