aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-12-26 13:26:18 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-12-26 13:26:18 +0800
commitbd31f49bac99f21656dc7d0352d5b3f7385f71b2 (patch)
treeb693ad7ec135bd8031458611b5ec485abd866463 /composer
parent5f83c587b2da0b9578117796253b7726e98748cc (diff)
downloadgsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar
gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar.gz
gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar.bz2
gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar.lz
gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar.xz
gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar.zst
gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'composer')
-rw-r--r--composer/e-composer-header-table.c31
1 files changed, 21 insertions, 10 deletions
diff --git a/composer/e-composer-header-table.c b/composer/e-composer-header-table.c
index 3486ab6f64..b9602e64fc 100644
--- a/composer/e-composer-header-table.c
+++ b/composer/e-composer-header-table.c
@@ -512,23 +512,34 @@ composer_header_table_constructor (GType type,
0, 1, ii, ii + 1, GTK_FILL, GTK_FILL, 0, 3);
if (composer_lite && ii == E_COMPOSER_HEADER_TO) {
GtkWidget *box = gtk_hbox_new (FALSE, 0);
- g_object_set_data ((GObject *)priv->headers[ii]->input_widget, "parent", object);
- gtk_box_pack_start ((GtkBox *)box, priv->headers[ii]->input_widget, TRUE, TRUE, 3);
- gtk_box_pack_start ((GtkBox *)box, (GtkWidget *)priv->actions_container, FALSE, FALSE, 0);
+ g_object_set_data (
+ G_OBJECT (priv->headers[ii]->input_widget),
+ "parent", object);
+ gtk_box_pack_start (
+ GTK_BOX (box), priv->headers[ii]->input_widget,
+ TRUE, TRUE, 3);
+ gtk_box_pack_start (
+ GTK_BOX (box),
+ GTK_WIDGET (priv->actions_container),
+ FALSE, FALSE, 0);
gtk_widget_show (box);
gtk_table_attach (
- GTK_TABLE (object), box,
- 1, 4, ii, ii + 1, GTK_FILL | GTK_EXPAND, 0, 0, 3);
+ GTK_TABLE (object), box, 1, 4, ii, ii + 1,
+ GTK_FILL | GTK_EXPAND, 0, 0, 3);
} else {
gtk_table_attach (
- GTK_TABLE (object), priv->headers[ii]->input_widget,
- 1, 4, ii, ii + 1, GTK_FILL | GTK_EXPAND, 0, 0, 3);
+ GTK_TABLE (object),
+ priv->headers[ii]->input_widget, 1, 4,
+ ii, ii + 1, GTK_FILL | GTK_EXPAND, 0, 0, 3);
}
if (composer_lite && priv->headers[ii]->action_widget) {
- /* Pack the widgets to the end. Helps formatting when hiding the From field */
- gtk_box_pack_end ((GtkBox *)priv->actions_container, priv->headers[ii]->action_widget,
- FALSE, FALSE, 6);
+ /* Pack the widgets to the end. Helps formatting
+ * when hiding the From field. */
+ gtk_box_pack_end (
+ GTK_BOX (priv->actions_container),
+ priv->headers[ii]->action_widget,
+ FALSE, FALSE, 6);
}
}