[evolution/wip/webkit2] Remove unused EMailMetaRemoveFilter
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit2] Remove unused EMailMetaRemoveFilter
- Date: Mon, 4 Apr 2016 13:37:17 +0000 (UTC)
commit 5a06bbd8fb20ede6533828a01f1410ab995df149
Author: Milan Crha <mcrha redhat com>
Date: Mon Apr 4 15:37:21 2016 +0200
Remove unused EMailMetaRemoveFilter
em-format/Makefile.am | 2 -
em-format/e-mail-formatter.c | 15 --
em-format/e-mail-meta-remove-filter.c | 267 ---------------------------------
em-format/e-mail-meta-remove-filter.h | 66 --------
4 files changed, 0 insertions(+), 350 deletions(-)
---
diff --git a/em-format/Makefile.am b/em-format/Makefile.am
index 70ae62d..7827d79 100644
--- a/em-format/Makefile.am
+++ b/em-format/Makefile.am
@@ -30,7 +30,6 @@ evolution_mail_formatter_include_HEADERS = \
e-mail-formatter-quote.h \
e-mail-formatter-utils.h \
e-mail-inline-filter.h \
- e-mail-meta-remove-filter.h \
e-mail-parser-extension.h \
e-mail-parser.h \
e-mail-part.h \
@@ -90,7 +89,6 @@ libevolution_mail_formatter_la_SOURCES = \
e-mail-formatter-quote-text-enriched.c \
e-mail-formatter-quote-text-html.c \
e-mail-formatter-quote-text-plain.c \
- e-mail-meta-remove-filter.c \
e-mail-parser-extension.c \
e-mail-parser.c \
e-mail-parser-application-mbox.c \
diff --git a/em-format/e-mail-formatter.c b/em-format/e-mail-formatter.c
index 8c793de..abbc93c 100644
--- a/em-format/e-mail-formatter.c
+++ b/em-format/e-mail-formatter.c
@@ -29,7 +29,6 @@
#include "e-mail-formatter-extension.h"
#include "e-mail-formatter-utils.h"
#include "e-mail-part.h"
-#include "e-mail-meta-remove-filter.h"
#define d(x)
@@ -1057,8 +1056,6 @@ e_mail_formatter_format_text (EMailFormatter *formatter,
CamelMimeFilter *filter;
const gchar *charset = NULL;
CamelMimeFilter *windows = NULL;
- /* FIXME XXX WK2 */
- CamelMimeFilter *meta_remove = NULL;
CamelMimePart *mime_part;
CamelContentType *mime_type;
@@ -1113,25 +1110,13 @@ e_mail_formatter_format_text (EMailFormatter *formatter,
} else {
g_object_ref (stream);
}
-/* FIXME WK2
- if (g_strcmp0 (e_mail_part_get_mime_type (part), "text/html") == 0) {
- meta_remove = e_mail_meta_remove_filter_new (FALSE);
- camel_stream_filter_add (
- CAMEL_STREAM_FILTER (filter_stream), meta_remove);
- }
-*/
camel_data_wrapper_decode_to_output_stream_sync (
camel_medium_get_content (CAMEL_MEDIUM (mime_part)),
stream, cancellable, NULL);
g_output_stream_flush (stream, cancellable, NULL);
g_object_unref (stream);
-
- /* FIXME WK2 g_clear_object? */
- if (meta_remove != NULL)
- g_object_unref (meta_remove);
-
g_clear_object (&windows);
g_clear_object (&mime_part);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]