aboutsummaryrefslogtreecommitdiffstats
path: root/filter
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-11-15 11:03:42 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-11-15 11:04:33 +0800
commit907df00ad0ca6b1380f74eac62dc114a492849d6 (patch)
tree252942c83d80d443056b215719853fba9ef7b27b /filter
parent78a2a77d1079c4790eeef64aa42b034dab172292 (diff)
downloadgsoc2013-evolution-907df00ad0ca6b1380f74eac62dc114a492849d6.tar.gz
gsoc2013-evolution-907df00ad0ca6b1380f74eac62dc114a492849d6.tar.zst
gsoc2013-evolution-907df00ad0ca6b1380f74eac62dc114a492849d6.zip
Use CamelSExp instead of ESExp in filter, mail.
Diffstat (limited to 'filter')
-rw-r--r--filter/e-filter-color.c3
-rw-r--r--filter/e-filter-element.h1
-rw-r--r--filter/e-filter-file.c4
-rw-r--r--filter/e-filter-input.c4
-rw-r--r--filter/e-filter-int.c2
-rw-r--r--filter/e-filter-option.c4
-rw-r--r--filter/e-filter-part.c2
7 files changed, 6 insertions, 14 deletions
diff --git a/filter/e-filter-color.c b/filter/e-filter-color.c
index bf80fbb778..1540841968 100644
--- a/filter/e-filter-color.c
+++ b/filter/e-filter-color.c
@@ -26,7 +26,6 @@
#endif
#include <gtk/gtk.h>
-#include <libedataserver/e-sexp.h>
#include "e-filter-color.h"
@@ -127,7 +126,7 @@ filter_color_format_sexp (EFilterElement *element,
g_snprintf (spec, sizeof (spec), "#%04x%04x%04x",
fc->color.red, fc->color.green, fc->color.blue);
- e_sexp_encode_string (out, spec);
+ camel_sexp_encode_string (out, spec);
}
static void
diff --git a/filter/e-filter-element.h b/filter/e-filter-element.h
index 9abd83ca0a..c0bcadd169 100644
--- a/filter/e-filter-element.h
+++ b/filter/e-filter-element.h
@@ -25,6 +25,7 @@
#define E_FILTER_ELEMENT_H
#include <gtk/gtk.h>
+#include <camel/camel.h>
#include <libxml/parser.h>
#include <libxml/xmlmemory.h>
#include <e-util/e-alert.h>
diff --git a/filter/e-filter-file.c b/filter/e-filter-file.c
index a5199fe064..baf75e71bb 100644
--- a/filter/e-filter-file.c
+++ b/filter/e-filter-file.c
@@ -31,8 +31,6 @@
#include <glib/gi18n.h>
#include <glib/gstdio.h>
-#include <libedataserver/e-sexp.h>
-
#include "e-util/e-alert.h"
#include "e-filter-file.h"
@@ -203,7 +201,7 @@ filter_file_format_sexp (EFilterElement *element,
{
EFilterFile *file = E_FILTER_FILE (element);
- e_sexp_encode_string (out, file->path);
+ camel_sexp_encode_string (out, file->path);
}
static void
diff --git a/filter/e-filter-input.c b/filter/e-filter-input.c
index 10fa1f1765..8b92f5486e 100644
--- a/filter/e-filter-input.c
+++ b/filter/e-filter-input.c
@@ -32,8 +32,6 @@
#include <gtk/gtk.h>
#include <glib/gi18n.h>
-#include <libedataserver/e-sexp.h>
-
#include "e-util/e-alert.h"
#include "e-filter-input.h"
@@ -243,7 +241,7 @@ filter_input_format_sexp (EFilterElement *element,
GList *link;
for (link = input->values; link != NULL; link = g_list_next (link))
- e_sexp_encode_string (out, link->data);
+ camel_sexp_encode_string (out, link->data);
}
static void
diff --git a/filter/e-filter-int.c b/filter/e-filter-int.c
index dcb9b18fba..883c560795 100644
--- a/filter/e-filter-int.c
+++ b/filter/e-filter-int.c
@@ -27,8 +27,6 @@
#include <stdlib.h>
#include <gtk/gtk.h>
-#include <libedataserver/e-sexp.h>
-
#include "e-filter-int.h"
G_DEFINE_TYPE (
diff --git a/filter/e-filter-option.c b/filter/e-filter-option.c
index 0cea021666..2f5af12e3b 100644
--- a/filter/e-filter-option.c
+++ b/filter/e-filter-option.c
@@ -31,8 +31,6 @@
#include <glib/gi18n.h>
#include <gmodule.h>
-#include <libedataserver/e-sexp.h>
-
#include "e-filter-option.h"
#include "e-filter-part.h"
@@ -409,7 +407,7 @@ filter_option_format_sexp (EFilterElement *element,
EFilterOption *option = E_FILTER_OPTION (element);
if (option->current)
- e_sexp_encode_string (out, option->current->value);
+ camel_sexp_encode_string (out, option->current->value);
}
static void
diff --git a/filter/e-filter-part.c b/filter/e-filter-part.c
index 0b31097d7c..2154699178 100644
--- a/filter/e-filter-part.c
+++ b/filter/e-filter-part.c
@@ -501,7 +501,7 @@ e_filter_part_expand_code (EFilterPart *part,
#if 0
} else if ((val = g_hash_table_lookup (part->globals, name))) {
g_string_append_printf (out, "%.*s", newstart-start, start);
- e_sexp_encode_string (out, val);
+ camel_sexp_encode_string (out, val);
#endif
} else {
g_string_append_printf (out, "%.*s", (gint)(end-start+1), start);