aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder-search.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-12-29 03:28:39 +0800
committerDan Winship <danw@src.gnome.org>2000-12-29 03:28:39 +0800
commit156996ac5eaaddea369e4ae001c06c45f5ad76f4 (patch)
tree4d6f8c6714002dfe6baf2717980bf9530a3c2fb2 /camel/camel-folder-search.c
parent1351da8fd7d1207e79cc811f300f3ccbc68ce3c7 (diff)
downloadgsoc2013-evolution-156996ac5eaaddea369e4ae001c06c45f5ad76f4.tar
gsoc2013-evolution-156996ac5eaaddea369e4ae001c06c45f5ad76f4.tar.gz
gsoc2013-evolution-156996ac5eaaddea369e4ae001c06c45f5ad76f4.tar.bz2
gsoc2013-evolution-156996ac5eaaddea369e4ae001c06c45f5ad76f4.tar.lz
gsoc2013-evolution-156996ac5eaaddea369e4ae001c06c45f5ad76f4.tar.xz
gsoc2013-evolution-156996ac5eaaddea369e4ae001c06c45f5ad76f4.tar.zst
gsoc2013-evolution-156996ac5eaaddea369e4ae001c06c45f5ad76f4.zip
Remove this. It was only a thin wrapper around struct _header_content_type
* gmime-content-field.[ch]: Remove this. It was only a thin wrapper around struct _header_content_type anyway, and didn't match the naming scheme of anything else. * Makefile.am: Remove gmime-content-field.[ch] * camel.h: Remove gmime-content-field.h * camel-types.h: Add CamelContentType as a typedef for struct _header_content_type (especially for use outside of camel). * camel-multipart.c: * camel-mime-part.c: * camel-mime-message.c: * camel-folder-summary.c: * camel-folder-search.c: * camel-data-wrapper.[ch]: Use CamelContentType and header_content_type_* functions rather than the GMime stuff. * camel-mime-part-utils.c: * camel-medium.c: Remove unused gmime-content-field.h include. svn path=/trunk/; revision=7186
Diffstat (limited to 'camel/camel-folder-search.c')
-rw-r--r--camel/camel-folder-search.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/camel/camel-folder-search.c b/camel/camel-folder-search.c
index 365580ffa8..97fcf6557a 100644
--- a/camel/camel-folder-search.c
+++ b/camel/camel-folder-search.c
@@ -37,7 +37,6 @@
#include "camel-medium.h"
#include "camel-multipart.h"
#include "camel-mime-message.h"
-#include "gmime-content-field.h"
#include "camel-stream-mem.h"
#include "e-util/e-memory.h"
@@ -578,7 +577,7 @@ message_body_contains(CamelDataWrapper *object, regex_t *pattern)
} else if (CAMEL_IS_MIME_MESSAGE(containee)) {
/* for messages we only look at its contents */
truth = message_body_contains((CamelDataWrapper *)containee, pattern);
- } else if (gmime_content_field_is_type(CAMEL_DATA_WRAPPER(containee)->mime_type, "text", "*")) {
+ } else if (header_content_type_is(CAMEL_DATA_WRAPPER(containee)->mime_type, "text", "*")) {
/* for all other text parts, we look inside, otherwise we dont care */
CamelStreamMem *mem = (CamelStreamMem *)camel_stream_mem_new();