GApplication: allow '-' in application ID
[platform/upstream/glib.git] / gio / gapplicationimpl-dbus.c
index fb6cf2b..7be5627 100644 (file)
@@ -391,6 +391,9 @@ application_path_from_appid (const gchar *appid)
     {
       if (*iter == '.')
         *iter = '/';
+
+      if (*iter == '-')
+        *iter = '_';
     }
 
   return appid_path;