aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-table-extras.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2014-02-16 22:36:49 +0800
committerMatthew Barnes <mbarnes@redhat.com>2014-03-03 08:36:01 +0800
commitc53fbc0b8f3b98827d6816a627bdd4d467b84f74 (patch)
tree10eb8683b6d413f9ae6946dcaf303c29027a84ef /e-util/e-table-extras.c
parent1e3d8b5c68754c377c54423f1fb9a322eb3ec9e8 (diff)
downloadgsoc2013-evolution-c53fbc0b8f3b98827d6816a627bdd4d467b84f74.tar
gsoc2013-evolution-c53fbc0b8f3b98827d6816a627bdd4d467b84f74.tar.gz
gsoc2013-evolution-c53fbc0b8f3b98827d6816a627bdd4d467b84f74.tar.bz2
gsoc2013-evolution-c53fbc0b8f3b98827d6816a627bdd4d467b84f74.tar.lz
gsoc2013-evolution-c53fbc0b8f3b98827d6816a627bdd4d467b84f74.tar.xz
gsoc2013-evolution-c53fbc0b8f3b98827d6816a627bdd4d467b84f74.tar.zst
gsoc2013-evolution-c53fbc0b8f3b98827d6816a627bdd4d467b84f74.zip
Miscellaneous cleanups.
Diffstat (limited to 'e-util/e-table-extras.c')
-rw-r--r--e-util/e-table-extras.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/e-util/e-table-extras.c b/e-util/e-table-extras.c
index b8c2c61fbd..b631dbd6e9 100644
--- a/e-util/e-table-extras.c
+++ b/e-util/e-table-extras.c
@@ -174,15 +174,15 @@ e_table_str_case_compare (gconstpointer x,
return x ? -1 : 1;
}
- #define prepare_value(_z, _cz) \
- _cz = e_table_sorting_utils_lookup_cmp_cache (cmp_cache, _z); \
- if (!_cz) { \
- gchar *tmp = g_utf8_casefold (_z, -1); \
- _cz = g_utf8_collate_key (tmp, -1); \
- g_free (tmp); \
- \
- e_table_sorting_utils_add_to_cmp_cache ( \
- cmp_cache, _z, (gchar *) _cz); \
+ #define prepare_value(_z, _cz) \
+ _cz = e_table_sorting_utils_lookup_cmp_cache (cmp_cache, _z); \
+ if (!_cz) { \
+ gchar *tmp = g_utf8_casefold (_z, -1); \
+ _cz = g_utf8_collate_key (tmp, -1); \
+ g_free (tmp); \
+ \
+ e_table_sorting_utils_add_to_cmp_cache ( \
+ cmp_cache, _z, (gchar *) _cz); \
}
prepare_value (x, cx);
@@ -210,13 +210,13 @@ e_table_collate_compare (gconstpointer x,
return x ? -1 : 1;
}
- #define prepare_value(_z, _cz) \
- _cz = e_table_sorting_utils_lookup_cmp_cache (cmp_cache, _z); \
- if (!_cz) { \
- _cz = g_utf8_collate_key (_z, -1); \
- \
- e_table_sorting_utils_add_to_cmp_cache ( \
- cmp_cache, _z, (gchar *) _cz); \
+ #define prepare_value(_z, _cz) \
+ _cz = e_table_sorting_utils_lookup_cmp_cache (cmp_cache, _z); \
+ if (!_cz) { \
+ _cz = g_utf8_collate_key (_z, -1); \
+ \
+ e_table_sorting_utils_add_to_cmp_cache ( \
+ cmp_cache, _z, (gchar *) _cz); \
}
prepare_value (x, cx);