From: Dirk-Jan C. Binnema Date: Fri, 8 Dec 2006 16:40:22 +0000 (+0000) Subject: * clean up compiler warnings X-Git-Tag: git_migration_finished~4355 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=190d0d8d0d7bb3e8562cc787a42d904bfa6ed38b * clean up compiler warnings pmo-trunk-r524 --- 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)); }