aboutsummaryrefslogtreecommitdiffstats
path: root/filter/e-filter-option.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-05-08 00:22:36 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-05-08 06:48:38 +0800
commit4cfb84c573f21ca7519e24cff1c5742b715355c4 (patch)
tree92314a7c4ebb1b82f5bbe0e48856e23f06dcfc95 /filter/e-filter-option.c
parentc7b455de89487e606fc620420c1778f5e55afcac (diff)
downloadgsoc2013-evolution-4cfb84c573f21ca7519e24cff1c5742b715355c4.tar.gz
gsoc2013-evolution-4cfb84c573f21ca7519e24cff1c5742b715355c4.tar.zst
gsoc2013-evolution-4cfb84c573f21ca7519e24cff1c5742b715355c4.zip
Whitespace and coding style cleanups.
Diffstat (limited to 'filter/e-filter-option.c')
-rw-r--r--filter/e-filter-option.c22
1 files changed, 14 insertions, 8 deletions
diff --git a/filter/e-filter-option.c b/filter/e-filter-option.c
index bc61e96c24..7eaa4324d5 100644
--- a/filter/e-filter-option.c
+++ b/filter/e-filter-option.c
@@ -92,7 +92,9 @@ filter_option_get_dynamic_options (EFilterOption *option)
if (g_module_symbol (module, option->dynamic_func, (gpointer) &get_func)) {
res = get_func ();
} else {
- g_warning ("optionlist dynamic fill function '%s' not found", option->dynamic_func);
+ g_warning (
+ "optionlist dynamic fill function '%s' not found",
+ option->dynamic_func);
}
g_module_close (module);
@@ -186,12 +188,15 @@ filter_option_xml_create (EFilterElement *element,
"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:
- GSList *cb (void);
- returning GSList of struct _filter_option, all newly allocated, because it'll
- be freed with g_free and g_slist_free. 'is_dynamic' member is ignored here.
- */
+ /* Expecting only one <dynamic func="cb" />
+ * in the option list,
+ * The 'cb' should be of this prototype:
+ * GSList *cb (void);
+ * returning GSList of struct _filter_option,
+ * all newly allocated, because it'll be
+ * freed with g_free and g_slist_free.
+ * 'is_dynamic' member is ignored here.
+ */
xmlChar *fn;
fn = xmlGetProp (n, (xmlChar *)"func");
@@ -305,7 +310,8 @@ filter_option_get_widget (EFilterElement *element)
gint index = 0, current = 0;
if (option->dynamic_func) {
- /* it is dynamically filled, thus remove all dynamics and put there the fresh ones */
+ /* it is dynamically filled, thus remove all dynamics
+ * and put there the fresh ones */
GSList *items, *i;
GList *old_ops;
struct _filter_option *old_cur;