diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-12-08 13:11:55 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-12-08 13:11:55 +0100 |
commit | e689457fcdeecbac05c46be74f709d9c5a6bcbbc (patch) | |
tree | 339ca720e59d6dea5b9bf3c7f988e1bf6eed3f75 | |
parent | afb37c43766bba9f3b5d8d827362fb843a85ca0f (diff) | |
parent | 89415c01b730e3a1f6f66402b5c439fb04bda201 (diff) | |
download | libayatana-appindicator-e689457fcdeecbac05c46be74f709d9c5a6bcbbc.tar.gz libayatana-appindicator-e689457fcdeecbac05c46be74f709d9c5a6bcbbc.tar.bz2 libayatana-appindicator-e689457fcdeecbac05c46be74f709d9c5a6bcbbc.zip |
Merge branch 'z3ntu-canonicalize_file_name'
Attributes GH PR #43: https://github.com/AyatanaIndicators/libayatana-appindicator/pull/43
-rw-r--r-- | src/app-indicator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app-indicator.c b/src/app-indicator.c index a0e1553..cb0086f 100644 --- a/src/app-indicator.c +++ b/src/app-indicator.c @@ -2081,7 +2081,7 @@ append_snap_prefix (const gchar *path) g_autofree gchar *canon_path = NULL; if (snap != NULL && path != NULL) { - canon_path = canonicalize_file_name(path); + canon_path = realpath(path, NULL); if (g_str_has_prefix (canon_path, "/tmp/")) { g_warning ("Using '/tmp' paths in SNAP environment will lead to unreadable resources"); |