From 6ee3d89d0b3707cc6f48b1e0c9099623fd034c92 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 13 Jun 2009 22:44:46 -0400 Subject: Fix compiler warnings. --- composer/e-composer-private.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'composer') 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); -- cgit v1.2.3