aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-01-31 04:32:08 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-01-31 07:09:19 +0800
commitec73f5522ff2d6f8c476f02a9daaff32ef1db069 (patch)
tree14729b8cbf271405e732b84ca2ca944ceb0815e5 /e-util
parentc7e371bc5bc8d7898236ac36e1ea0bc08518b791 (diff)
downloadgsoc2013-evolution-ec73f5522ff2d6f8c476f02a9daaff32ef1db069.tar
gsoc2013-evolution-ec73f5522ff2d6f8c476f02a9daaff32ef1db069.tar.gz
gsoc2013-evolution-ec73f5522ff2d6f8c476f02a9daaff32ef1db069.tar.bz2
gsoc2013-evolution-ec73f5522ff2d6f8c476f02a9daaff32ef1db069.tar.lz
gsoc2013-evolution-ec73f5522ff2d6f8c476f02a9daaff32ef1db069.tar.xz
gsoc2013-evolution-ec73f5522ff2d6f8c476f02a9daaff32ef1db069.tar.zst
gsoc2013-evolution-ec73f5522ff2d6f8c476f02a9daaff32ef1db069.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-alert.c4
-rw-r--r--e-util/e-config.c8
-rw-r--r--e-util/e-mktemp.c2
-rw-r--r--e-util/e-plugin.c2
-rw-r--r--e-util/e-plugin.h2
5 files changed, 9 insertions, 9 deletions
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, "&lt;");
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 */