diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-08-30 12:48:57 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-08-30 12:48:57 +0800 |
commit | 0f7f4cfe38b3c4cd83efbe9922ae15c5aee00317 (patch) | |
tree | ac2e7dc42ce4020548e020fdec9c281eb8b83e97 /e-util | |
parent | 82bc7f0b36b5e951817307e96e1e0be3a8ee34cc (diff) | |
download | gsoc2013-evolution-0f7f4cfe38b3c4cd83efbe9922ae15c5aee00317.tar gsoc2013-evolution-0f7f4cfe38b3c4cd83efbe9922ae15c5aee00317.tar.gz gsoc2013-evolution-0f7f4cfe38b3c4cd83efbe9922ae15c5aee00317.tar.bz2 gsoc2013-evolution-0f7f4cfe38b3c4cd83efbe9922ae15c5aee00317.tar.lz gsoc2013-evolution-0f7f4cfe38b3c4cd83efbe9922ae15c5aee00317.tar.xz gsoc2013-evolution-0f7f4cfe38b3c4cd83efbe9922ae15c5aee00317.tar.zst gsoc2013-evolution-0f7f4cfe38b3c4cd83efbe9922ae15c5aee00317.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/e-datetime-format.c | 7 |
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"; |