From 5c80f1534b435ff5c1c9cc88eb9f5c5c1124f82a Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sun, 3 Jan 2010 22:47:27 -0500 Subject: Coding style and whitespace cleanup. --- filter/e-filter-option.c | 13 ++++++++++--- filter/e-filter-rule.h | 2 +- 2 files changed, 11 insertions(+), 4 deletions(-) (limited to 'filter') 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 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; -- cgit v1.2.3