diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-01-04 11:47:27 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-01-05 09:22:21 +0800 |
commit | 5c80f1534b435ff5c1c9cc88eb9f5c5c1124f82a (patch) | |
tree | 92b05ad7116690bf2da53a0fa6ba813fcbea50c7 /filter | |
parent | 69945127d8a7933512bb14eb20ff85354704b5cc (diff) | |
download | gsoc2013-evolution-5c80f1534b435ff5c1c9cc88eb9f5c5c1124f82a.tar.gz gsoc2013-evolution-5c80f1534b435ff5c1c9cc88eb9f5c5c1124f82a.tar.zst gsoc2013-evolution-5c80f1534b435ff5c1c9cc88eb9f5c5c1124f82a.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'filter')
-rw-r--r-- | filter/e-filter-option.c | 13 | ||||
-rw-r--r-- | filter/e-filter-rule.h | 2 |
2 files changed, 11 insertions, 4 deletions
diff --git a/filter/e-filter-option.c b/filter/e-filter-option.c index 3765238a80..79899bce80 100644 --- a/filter/e-filter-option.c +++ b/filter/e-filter-option.c @@ -149,7 +149,8 @@ filter_option_xml_create (EFilterElement *element, value = (gchar *)xmlGetProp (n, (xmlChar *)"value"); work = n->children; while (work) { - if (!strcmp ((gchar *)work->name, "title") || !strcmp ((gchar *)work->name, "_title")) { + if (!strcmp ((gchar *)work->name, "title") || + !strcmp ((gchar *)work->name, "_title")) { if (!title) { if (!(tmp = (gchar *)xmlNodeGetContent (work))) tmp = (gchar *)xmlStrdup ((xmlChar *)""); @@ -175,7 +176,10 @@ filter_option_xml_create (EFilterElement *element, g_free (code); } else if (g_str_equal ((gchar *)n->name, "dynamic")) { if (option->dynamic_func) { - g_warning ("Only one 'dynamic' node is acceptable in the optionlist '%s'", element->name); + g_warning ( + "Only one 'dynamic' node is " + "acceptable in the optionlist '%s'", + element->name); } else { /* Expecting only one <dynamic func="cb" /> in the option list, The 'cb' should be of this prototype: @@ -205,7 +209,10 @@ filter_option_xml_create (EFilterElement *element, g_slist_free (items); } else { - g_warning ("Missing 'func' attribute within '%s' node in optionlist '%s'", n->name, element->name); + g_warning ( + "Missing 'func' attribute within " + "'%s' node in optionlist '%s'", + n->name, element->name); } xmlFree (fn); diff --git a/filter/e-filter-rule.h b/filter/e-filter-rule.h index 924fb14074..75f003b0e0 100644 --- a/filter/e-filter-rule.h +++ b/filter/e-filter-rule.h @@ -73,7 +73,7 @@ enum _filter_threading_t { #define E_FILTER_SOURCE_DEMAND "demand" /* performed on the selected folder * when the user asks for it */ #define E_FILTER_SOURCE_OUTGOING "outgoing"/* performed on outgoing mail */ -#define E_FILTER_SOURCE_JUNKTEST "junktest"/* perform only junktest on incoming mail */ +#define E_FILTER_SOURCE_JUNKTEST "junktest"/* check incoming mail for junk */ struct _EFilterRule { GObject parent_object; |