aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-08-07 21:21:00 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-08-09 20:41:44 +0800
commitcbfab0548de9712d1ca1acca840bbfa76ccb2e93 (patch)
tree7a9f9f7149a2e045ae0371ca6a4fc138f4351419 /e-util
parent010b7fd343cc5f2dc6bbaa11b56a21d9ae114094 (diff)
downloadgsoc2013-evolution-cbfab0548de9712d1ca1acca840bbfa76ccb2e93.tar.gz
gsoc2013-evolution-cbfab0548de9712d1ca1acca840bbfa76ccb2e93.tar.zst
gsoc2013-evolution-cbfab0548de9712d1ca1acca840bbfa76ccb2e93.zip
Coding style and whitespace cleanups.
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-datetime-format.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/e-util/e-datetime-format.c b/e-util/e-datetime-format.c
index c6900ff8ca..6dff77f2ee 100644
--- a/e-util/e-datetime-format.c
+++ b/e-util/e-datetime-format.c
@@ -153,7 +153,7 @@ static void
set_format_internal (const gchar *key, const gchar *fmt, GKeyFile *keyfile)
{
ensure_loaded ();
-
+
g_return_if_fail (key != NULL);
g_return_if_fail (key2fmt != NULL);
g_return_if_fail (keyfile != NULL);
@@ -256,7 +256,7 @@ format_internal (const gchar *key, DTFormatKind kind, time_t tvalue, struct tm *
g_string_append (use_fmt, ad);
else if (g_ascii_isspace (fmt [i + 3]))
i++;
-
+
g_free (ad);
}
}
@@ -322,7 +322,7 @@ fill_combo_formats (GtkWidget *combo, const gchar *key, DTFormatKind kind)
};
const gchar **items = NULL;
- int i, idx = 0;
+ gint i, idx = 0;
const gchar *fmt;
g_return_if_fail (GTK_IS_COMBO_BOX_ENTRY (combo));
@@ -431,7 +431,6 @@ gen_key (const gchar *component, const gchar *part, DTFormatKind kind)
g_return_val_if_fail (component != NULL, NULL);
g_return_val_if_fail (*component != 0, NULL);
-
switch (kind) {
case DTFormatKindDate:
kind_str = "Date";