aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-06-14 10:44:46 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-06-14 10:44:46 +0800
commit6ee3d89d0b3707cc6f48b1e0c9099623fd034c92 (patch)
tree5f05120e5afcae8813eaae0e5aeb516e54d92071 /composer
parent09d01be0aae3b356c892d56d2c5f8eb5ae27a8d2 (diff)
downloadgsoc2013-evolution-6ee3d89d0b3707cc6f48b1e0c9099623fd034c92.tar
gsoc2013-evolution-6ee3d89d0b3707cc6f48b1e0c9099623fd034c92.tar.gz
gsoc2013-evolution-6ee3d89d0b3707cc6f48b1e0c9099623fd034c92.tar.bz2
gsoc2013-evolution-6ee3d89d0b3707cc6f48b1e0c9099623fd034c92.tar.lz
gsoc2013-evolution-6ee3d89d0b3707cc6f48b1e0c9099623fd034c92.tar.xz
gsoc2013-evolution-6ee3d89d0b3707cc6f48b1e0c9099623fd034c92.tar.zst
gsoc2013-evolution-6ee3d89d0b3707cc6f48b1e0c9099623fd034c92.zip
Fix compiler warnings.
Diffstat (limited to 'composer')
-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);