aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/app-indicator.c2
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");