From ec73f5522ff2d6f8c476f02a9daaff32ef1db069 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 30 Jan 2010 15:32:08 -0500 Subject: Coding style and whitespace cleanup. --- e-util/e-alert.c | 4 ++-- e-util/e-config.c | 8 ++++---- e-util/e-mktemp.c | 2 +- e-util/e-plugin.c | 2 +- e-util/e-plugin.h | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) (limited to 'e-util') diff --git a/e-util/e-alert.c b/e-util/e-alert.c index 797ba33798..20ab3221ec 100644 --- a/e-util/e-alert.c +++ b/e-util/e-alert.c @@ -346,7 +346,7 @@ e_alert_load_tables(void) return; } - while ( (d = g_dir_read_name(dir)) ) { + while ((d = g_dir_read_name(dir))) { gchar *path; if (d[0] == '.') @@ -536,7 +536,7 @@ e_alert_append_text_escaped (GString *out, const gchar *text) { gchar c; - while ( (c=*text++) ) { + while ((c=*text++)) { if (c == '<') g_string_append(out, "<"); else if (c == '>') diff --git a/e-util/e-config.c b/e-util/e-config.c index 25b12355a9..dea0f52284 100644 --- a/e-util/e-config.c +++ b/e-util/e-config.c @@ -558,7 +558,7 @@ ec_rebuild (EConfig *emp) || item->type == E_CONFIG_PAGE || item->type == E_CONFIG_SECTION || item->type == E_CONFIG_SECTION_TABLE)) { - if ( (sectionnode->empty = itemno == 0) ) { + if ((sectionnode->empty = itemno == 0)) { gtk_widget_hide(sectionnode->frame); sectionno--; } else @@ -572,7 +572,7 @@ ec_rebuild (EConfig *emp) && (item->type == E_CONFIG_PAGE_START || item->type == E_CONFIG_PAGE_FINISH || item->type == E_CONFIG_PAGE)) { - if ( (pagenode->empty = sectionno == 0) ) { + if ((pagenode->empty = sectionno == 0)) { gtk_widget_hide(pagenode->frame); pageno--; } else @@ -894,7 +894,7 @@ ec_rebuild (EConfig *emp) /* If the last section doesn't contain anything, hide it */ if (sectionnode != NULL && sectionnode->frame != NULL) { - if ( (sectionnode->empty = itemno == 0) ) { + if ((sectionnode->empty = itemno == 0)) { gtk_widget_hide(sectionnode->frame); sectionno--; } else @@ -904,7 +904,7 @@ ec_rebuild (EConfig *emp) /* If the last page doesn't contain anything, hide it */ if (pagenode != NULL && pagenode->frame != NULL) { - if ( (pagenode->empty = sectionno == 0) ) { + if ((pagenode->empty = sectionno == 0)) { gtk_widget_hide(pagenode->frame); pageno--; } else diff --git a/e-util/e-mktemp.c b/e-util/e-mktemp.c index 15b566877e..e53ea60b69 100644 --- a/e-util/e-mktemp.c +++ b/e-util/e-mktemp.c @@ -69,7 +69,7 @@ expire_dir_rec(const gchar *base, time_t now) path = g_string_new(base); len = path->len; - while ( (d = g_dir_read_name(dir)) ) { + while ((d = g_dir_read_name(dir))) { g_string_truncate(path, len); g_string_append_printf(path, "/%s", d); d(printf("Checking '%s' for expiry\n", path->str)); diff --git a/e-util/e-plugin.c b/e-util/e-plugin.c index 82437e8bb4..26cf35c126 100644 --- a/e-util/e-plugin.c +++ b/e-util/e-plugin.c @@ -595,7 +595,7 @@ e_plugin_load_plugins(void) continue; } - while ( (d = g_dir_read_name(dir)) ) { + while ((d = g_dir_read_name(dir))) { if (g_str_has_suffix (d, ".eplug")) { gchar * name = g_build_filename(path, d, NULL); diff --git a/e-util/e-plugin.h b/e-util/e-plugin.h index 8e24436605..a90499bf9c 100644 --- a/e-util/e-plugin.h +++ b/e-util/e-plugin.h @@ -265,5 +265,5 @@ typedef enum _EPluginFlags { E_PLUGIN_FLAGS_SYSTEM_PLUGIN = 1 << 0 } EPluginFlags; -#endif /* ! _E_PLUGIN_H */ +#endif /* _E_PLUGIN_H */ -- cgit