aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-display.c
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>2000-01-25 18:58:55 +0800
committerArturo Espinosa <unammx@src.gnome.org>2000-01-25 18:58:55 +0800
commit5d268dc0057298b4b8bad4ec9aa3bb568f4a50ee (patch)
tree6dbf4589a04b72470f379fccb3d27554b3608980 /mail/mail-display.c
parent22a335e6143796e48d634cb39bf4d5555ba75ff7 (diff)
downloadgsoc2013-evolution-5d268dc0057298b4b8bad4ec9aa3bb568f4a50ee.tar
gsoc2013-evolution-5d268dc0057298b4b8bad4ec9aa3bb568f4a50ee.tar.gz
gsoc2013-evolution-5d268dc0057298b4b8bad4ec9aa3bb568f4a50ee.tar.bz2
gsoc2013-evolution-5d268dc0057298b4b8bad4ec9aa3bb568f4a50ee.tar.lz
gsoc2013-evolution-5d268dc0057298b4b8bad4ec9aa3bb568f4a50ee.tar.xz
gsoc2013-evolution-5d268dc0057298b4b8bad4ec9aa3bb568f4a50ee.tar.zst
gsoc2013-evolution-5d268dc0057298b4b8bad4ec9aa3bb568f4a50ee.zip
It compiles -miguel
svn path=/trunk/; revision=1630
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);
}