projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gresource: Make extract work better
[platform/upstream/glib.git]
/
gio
/
gapplication-tool.c
diff --git
a/gio/gapplication-tool.c
b/gio/gapplication-tool.c
index
fb5678c
..
9f6f8d1
100644
(file)
--- a/
gio/gapplication-tool.c
+++ b/
gio/gapplication-tool.c
@@
-238,8
+238,12
@@
app_path_for_id (const gchar *app_id)
path = g_strconcat ("/", app_id, NULL);
for (i = 0; path[i]; i++)
- if (path[i] == '.')
- path[i] = '/';
+ {
+ if (path[i] == '.')
+ path[i] = '/';
+ if (path[i] == '-')
+ path[i] = '_';
+ }
return path;
}