From 190d0d8d0d7bb3e8562cc787a42d904bfa6ed38b Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Fri, 8 Dec 2006 16:40:22 +0000 Subject: [PATCH] * clean up compiler warnings pmo-trunk-r524 --- src/modest-formatter.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/modest-formatter.c b/src/modest-formatter.c index 2e175a6..81af6dc 100644 --- a/src/modest-formatter.c +++ b/src/modest-formatter.c @@ -31,6 +31,10 @@ #include #include #include +#include +#include +#include +#include #include "modest-formatter.h" #include "modest-text-utils.h" @@ -141,19 +145,19 @@ modest_formatter_do (ModestFormatter *self, TnyMsg * modest_formatter_cite (ModestFormatter *self, TnyMimePart *body, TnyHeader *header) { - modest_formatter_do (self, body, header, modest_formatter_wrapper_cite); + return modest_formatter_do (self, body, header, modest_formatter_wrapper_cite); } TnyMsg * modest_formatter_quote (ModestFormatter *self, TnyMimePart *body, TnyHeader *header) { - modest_formatter_do (self, body, header, modest_formatter_wrapper_quote); + return modest_formatter_do (self, body, header, modest_formatter_wrapper_quote); } TnyMsg * modest_formatter_inline (ModestFormatter *self, TnyMimePart *body, TnyHeader *header) { - modest_formatter_do (self, body, header, modest_formatter_wrapper_inline); + return modest_formatter_do (self, body, header, modest_formatter_wrapper_inline); } TnyMsg * @@ -227,7 +231,8 @@ modest_formatter_class_init (ModestFormatterClass *class) parent_class = g_type_class_peek_parent (class); object_class = (GObjectClass*) class; - + object_class->finalize = modest_formatter_finalize; + g_type_class_add_private (object_class, sizeof (ModestFormatterPrivate)); } -- 1.7.9.5