mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 01:36:17 +01:00
GApplication: allow '-' in application ID
By converting it to _ before trying to shove it into an object path. https://bugzilla.gnome.org/show_bug.cgi?id=652025
This commit is contained in:
parent
6418769e4c
commit
f44cd41293
@ -391,6 +391,9 @@ application_path_from_appid (const gchar *appid)
|
||||
{
|
||||
if (*iter == '.')
|
||||
*iter = '/';
|
||||
|
||||
if (*iter == '-')
|
||||
*iter = '_';
|
||||
}
|
||||
|
||||
return appid_path;
|
||||
|
Loading…
Reference in New Issue
Block a user