diff options
author | Patrick Monnerat <[email protected]> | 2015-01-14 11:52:30 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2015-04-09 20:34:41 +0200 |
commit | 5e9066540c568f7e10780a1dd85986a6933702f7 (patch) | |
tree | 3ab38e3fcaf9c247849e139560be8eabf4b5d1d1 | |
parent | 6a71dd03e3d5c2eecdf6d6fcae50ab53656ff148 (diff) | |
download | mate-panel-5e9066540c568f7e10780a1dd85986a6933702f7.tar.bz2 mate-panel-5e9066540c568f7e10780a1dd85986a6933702f7.tar.xz |
Use g_path_is_absolute().
-rw-r--r-- | applets/clock/system-timezone.c | 2 |
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; |