aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-display.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-display.c')
-rw-r--r--mail/mail-display.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/mail/mail-display.c b/mail/mail-display.c
index 2e3ac52fd2..7b0246b31c 100644
--- a/mail/mail-display.c
+++ b/mail/mail-display.c
@@ -10,6 +10,7 @@
#include <gnome.h>
#include "e-util/e-util.h"
#include "mail-display.h"
+#include "html-stream.h"
#define PARENT_TYPE (gtk_table_get_type ())
@@ -20,8 +21,8 @@ mail_display_init (GtkObject *object)
{
MailDisplay *mail_display = MAIL_DISPLAY (object);
- mail_display->html = gtk_html_new ();
- gtk_widget_show (mail_display->html);
+ mail_display->html = (GtkHTML *) gtk_html_new ();
+ gtk_widget_show (GTK_WIDGET (mail_display->html));
}
static void
@@ -45,12 +46,12 @@ mail_display_new (void)
MailDisplay *mail_display = gtk_type_new (mail_display_get_type ());
GtkTable *table = GTK_TABLE (mail_display);
- table->homogeous = FALSE;
+ table->homogeneous = FALSE;
gtk_table_resize (table, 1, 2);
- gtk_table_attach (table, mail_display->html,
+ gtk_table_attach (table, GTK_WIDGET (mail_display->html),
0, 1, 1, 2,
- GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL);
+ GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0);
return GTK_WIDGET (mail_display);
}