aboutsummaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-10-18 14:47:31 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-10-18 14:47:31 -0500
commit1e0cfb884a92540d8fbcac662c75633ff6eb1e2a (patch)
tree5be1fc8b6a448db8270cc1613f2e822aabd8b550 /src/utils.c
parent88b1dfa508e3e7bba4487d0a41c9b56a943ca5f2 (diff)
downloadayatana-indicator-datetime-1e0cfb884a92540d8fbcac662c75633ff6eb1e2a.tar.gz
ayatana-indicator-datetime-1e0cfb884a92540d8fbcac662c75633ff6eb1e2a.tar.bz2
ayatana-indicator-datetime-1e0cfb884a92540d8fbcac662c75633ff6eb1e2a.zip
fix a trio of pedantic gcc warnings
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils.c b/src/utils.c
index 00209c8..d1e1fbf 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -100,9 +100,9 @@ get_current_zone_name (const gchar * location, GSettings * settings)
split_settings_location (tz_name, &old_zone, &old_name);
g_free (tz_name);
- // new_name is always just a sanitized version of a timezone.
- // old_name is potentially a saved "pretty" version of a timezone name from
- // geonames. So we prefer to use it if available and the zones match.
+ /* new_name is always just a sanitized version of a timezone.
+ old_name is potentially a saved "pretty" version of a timezone name from
+ geonames. So we prefer to use it if available and the zones match. */
if (g_strcmp0 (old_zone, new_zone) == 0) {
rv = old_name;