aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-composer-private.c
diff options
context:
space:
mode:
Diffstat (limited to 'composer/e-composer-private.c')
-rw-r--r--composer/e-composer-private.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/composer/e-composer-private.c b/composer/e-composer-private.c
index 2d2efab187..8610d9c011 100644
--- a/composer/e-composer-private.c
+++ b/composer/e-composer-private.c
@@ -169,10 +169,13 @@ e_composer_private_init (EMsgComposer *composer)
if (composer->lite) {
GtkWidget *tmp, *tmp1, *tmp_box, *container;
- GtkWidget *combo = e_attachment_paned_get_view_combo (widget);
+ GtkWidget *combo;
+ combo = e_attachment_paned_get_view_combo (
+ E_ATTACHMENT_PANED (widget));
gtk_widget_hide (combo);
- container = e_attachment_paned_get_controls_container (widget);
+ container = e_attachment_paned_get_controls_container (
+ E_ATTACHMENT_PANED (widget));
tmp_box = gtk_hbox_new (FALSE, 0);
@@ -209,7 +212,7 @@ e_composer_private_init (EMsgComposer *composer)
gtk_button_set_relief ((GtkButton *)send_widget, GTK_RELIEF_NORMAL);
gtk_widget_show(tmp_box);
- gtk_box_pack_end (container, tmp_box, FALSE, FALSE, 3);
+ gtk_box_pack_end (GTK_BOX (container), tmp_box, FALSE, FALSE, 3);
}
g_object_set_data ((GObject *)composer, "vbox", editor->vbox);