aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-display.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-05-21 17:18:20 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-05-21 17:18:20 +0800
commit0a232b36bf48cd8493e455466e7cdbfd96d7aa7f (patch)
treeebc3f3ca60f873e39124228be43f0416b7c6c204 /mail/mail-display.c
parent4eb47f9a4696877218bf05d53c52f829d2afcdd5 (diff)
downloadgsoc2013-evolution-0a232b36bf48cd8493e455466e7cdbfd96d7aa7f.tar.gz
gsoc2013-evolution-0a232b36bf48cd8493e455466e7cdbfd96d7aa7f.tar.zst
gsoc2013-evolution-0a232b36bf48cd8493e455466e7cdbfd96d7aa7f.zip
Updated for the GtkHTML API changes. Also fixed some compiler
warnings here and there. svn path=/trunk/; revision=3145
Diffstat (limited to 'mail/mail-display.c')
-rw-r--r--mail/mail-display.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/mail/mail-display.c b/mail/mail-display.c
index d569ba1f7c..b72169327e 100644
--- a/mail/mail-display.c
+++ b/mail/mail-display.c
@@ -128,7 +128,7 @@ on_link_clicked (GtkHTML *html, const char *url, gpointer user_data)
}
static void
-on_url_requested (GtkHTML *html, const char *url, GtkHTMLStreamHandle handle,
+on_url_requested (GtkHTML *html, const char *url, GtkHTMLStream *handle,
gpointer user_data)
{
CamelMimeMessage *message = CAMEL_MIME_MESSAGE (user_data);
@@ -182,7 +182,7 @@ html_size_req (GtkWidget *widget, GtkRequisition *requisition)
}
void
-mail_html_new (GtkHTML **html, GtkHTMLStreamHandle **stream,
+mail_html_new (GtkHTML **html, GtkHTMLStream **stream,
CamelMimeMessage *root, gboolean init)
{
*html = GTK_HTML (gtk_html_new ());
@@ -194,7 +194,7 @@ mail_html_new (GtkHTML **html, GtkHTMLStreamHandle **stream,
gtk_signal_connect (GTK_OBJECT (*html), "link_clicked",
GTK_SIGNAL_FUNC (on_link_clicked), root);
- *stream = gtk_html_begin (*html, "");
+ *stream = gtk_html_begin (*html);
if (init) {
mail_html_write (*html, *stream, HTML_HEADER
"<BODY TEXT=\"#000000\" "
@@ -203,7 +203,7 @@ mail_html_new (GtkHTML **html, GtkHTMLStreamHandle **stream,
}
void
-mail_html_write (GtkHTML *html, GtkHTMLStreamHandle *stream,
+mail_html_write (GtkHTML *html, GtkHTMLStream *stream,
const char *format, ...)
{
char *buf;
@@ -217,8 +217,7 @@ mail_html_write (GtkHTML *html, GtkHTMLStreamHandle *stream,
}
void
-mail_html_end (GtkHTML *html, GtkHTMLStreamHandle *stream,
- gboolean finish, GtkBox *box)
+mail_html_end (GtkHTML *html, GtkHTMLStream *stream, gboolean finish, GtkBox *box)
{
GtkWidget *scroll;