From 907df00ad0ca6b1380f74eac62dc114a492849d6 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 14 Nov 2011 22:03:42 -0500 Subject: Use CamelSExp instead of ESExp in filter, mail. --- filter/e-filter-color.c | 3 +-- filter/e-filter-element.h | 1 + filter/e-filter-file.c | 4 +--- filter/e-filter-input.c | 4 +--- filter/e-filter-int.c | 2 -- filter/e-filter-option.c | 4 +--- filter/e-filter-part.c | 2 +- 7 files changed, 6 insertions(+), 14 deletions(-) (limited to 'filter') 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 -#include #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 +#include #include #include #include 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 #include -#include - #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 #include -#include - #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 #include -#include - #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 #include -#include - #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); -- cgit