summaryrefslogtreecommitdiff
path: root/applets/clock/system-timezone.c
diff options
context:
space:
mode:
Diffstat (limited to 'applets/clock/system-timezone.c')
-rw-r--r--applets/clock/system-timezone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/applets/clock/system-timezone.c b/applets/clock/system-timezone.c
index 525921c1..b736ffee 100644
--- a/applets/clock/system-timezone.c
+++ b/applets/clock/system-timezone.c
@@ -635,7 +635,7 @@ system_timezone_read_etc_localtime_softlink (void)
file = g_file_read_link (ETC_LOCALTIME, NULL);
- if (*file != '/') {
+ if (!g_path_is_absolute (file)) {
GFile *gf1;
GFile *gf2;