summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorPatrick Monnerat <[email protected]>2015-01-14 11:52:30 +0100
committerStefano Karapetsas <[email protected]>2015-04-09 20:34:41 +0200
commit5e9066540c568f7e10780a1dd85986a6933702f7 (patch)
tree3ab38e3fcaf9c247849e139560be8eabf4b5d1d1 /applets
parent6a71dd03e3d5c2eecdf6d6fcae50ab53656ff148 (diff)
downloadmate-panel-5e9066540c568f7e10780a1dd85986a6933702f7.tar.bz2
mate-panel-5e9066540c568f7e10780a1dd85986a6933702f7.tar.xz
Use g_path_is_absolute().
Diffstat (limited to 'applets')
-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;