aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-notebook-view.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-06-05 04:53:10 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-06-09 01:14:48 +0800
commitf014ab82c81078d60cb1df8c986305c2cc9948c2 (patch)
treec3bde4e5da923c9ee082fcb994b10c2ce2f61dc2 /mail/e-mail-notebook-view.c
parent7428fc93d58921bab9968a999172b843af2a2244 (diff)
downloadgsoc2013-evolution-f014ab82c81078d60cb1df8c986305c2cc9948c2.tar.gz
gsoc2013-evolution-f014ab82c81078d60cb1df8c986305c2cc9948c2.tar.zst
gsoc2013-evolution-f014ab82c81078d60cb1df8c986305c2cc9948c2.zip
Coding style and whitespace cleanups.
Diffstat (limited to 'mail/e-mail-notebook-view.c')
-rw-r--r--mail/e-mail-notebook-view.c19
1 files changed, 13 insertions, 6 deletions
diff --git a/mail/e-mail-notebook-view.c b/mail/e-mail-notebook-view.c
index 5a172e78c1..66bf9358f3 100644
--- a/mail/e-mail-notebook-view.c
+++ b/mail/e-mail-notebook-view.c
@@ -971,7 +971,8 @@ mail_netbook_view_open_mail (EMailView *view,
#endif
#if HAVE_CLUTTER
- tab = (EMailTab *) e_mail_tab_new_full (camel_message_info_subject (info), NULL, 1);
+ tab = (EMailTab *) e_mail_tab_new_full (
+ camel_message_info_subject (info), NULL, 1);
g_object_set_data ((GObject *)tab, "page", pane);
g_object_set_data ((GObject *)pane, "tab", tab);
@@ -1046,7 +1047,9 @@ build_histogram (GtkWidget *widget, CamelFolder *folder)
uids = camel_folder_get_uids (folder);
camel_folder_summary_prepare_fetch_all (folder->summary, NULL);
for (i = 0; i < uids->len; i++) {
- CamelMessageInfo *info = camel_folder_get_message_info (folder, uids->pdata[i]);
+ CamelMessageInfo *info;
+
+ info = camel_folder_get_message_info (folder, uids->pdata[i]);
if (info) {
time_t dreceived = now - camel_message_info_date_received (info);
gint week;
@@ -1451,11 +1454,15 @@ emnv_close_tab (EMailNotebookView *view, gpointer not_used)
EMailNotebookViewPrivate *priv = view->priv;
#if HAVE_CLUTTER
- mnv_tab_closed (g_object_get_data((GObject *)priv->current_view, "tab"),
- view);
+ mnv_tab_closed (
+ g_object_get_data (
+ G_OBJECT (priv->current_view), "tab"),
+ view);
#else
- tab_remove_gtk_cb (g_object_get_data((GObject *)priv->current_view, "close-button"),
- view);
+ tab_remove_gtk_cb (
+ g_object_get_data (
+ G_OBJECT (priv->current_view), "close-button"),
+ view);
#endif
}