diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-05-08 00:22:36 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:42:10 +0800 |
commit | 578214584caa7805edca09b27e2306dc31d80fb6 (patch) | |
tree | dfa18882e01b362a721fd47bd901538bc5e3a9c4 /filter/e-filter-option.c | |
parent | 30fe010cffa6f290170147ea9a8b617d04fab39d (diff) | |
download | gsoc2013-evolution-578214584caa7805edca09b27e2306dc31d80fb6.tar gsoc2013-evolution-578214584caa7805edca09b27e2306dc31d80fb6.tar.gz gsoc2013-evolution-578214584caa7805edca09b27e2306dc31d80fb6.tar.bz2 gsoc2013-evolution-578214584caa7805edca09b27e2306dc31d80fb6.tar.lz gsoc2013-evolution-578214584caa7805edca09b27e2306dc31d80fb6.tar.xz gsoc2013-evolution-578214584caa7805edca09b27e2306dc31d80fb6.tar.zst gsoc2013-evolution-578214584caa7805edca09b27e2306dc31d80fb6.zip |
Whitespace and coding style cleanups.
Diffstat (limited to 'filter/e-filter-option.c')
-rw-r--r-- | filter/e-filter-option.c | 22 |
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; |