diff options
author | Michael Catanzaro <mcatanzaro@gnome.org> | 2022-01-20 02:20:42 +0000 |
---|---|---|
committer | Michael Catanzaro <mcatanzaro@gnome.org> | 2022-01-20 02:20:42 +0000 |
commit | 796823666be46a93606bc31cde271d46eee2ce78 (patch) | |
tree | 8c94001f7c3ec3c399c09a3707419eed83ad955b | |
parent | 9ae8338e74444f70c7ea0c808da8152bbab585ce (diff) | |
download | epiphany-796823666be46a93606bc31cde271d46eee2ce78.tar.gz |
Revert "Fix web app GApplication ID calculation"
This reverts commit 9ae8338e74444f70c7ea0c808da8152bbab585ce
-rw-r--r-- | lib/ephy-web-app-utils.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/ephy-web-app-utils.c b/lib/ephy-web-app-utils.c index f23cc950d..5ea111b42 100644 --- a/lib/ephy-web-app-utils.c +++ b/lib/ephy-web-app-utils.c @@ -130,11 +130,10 @@ get_gapplication_id_from_id (const char *id) /* Split ID into: <normalized-name>-<checksum> */ final_hyphen = strrchr (id, '-'); if (!final_hyphen) { - /* The id was derived from the profile dir and it's only the checksum part */ - checksum = id; - } else { - checksum = final_hyphen + 1; + g_warning ("Web app ID %s is broken: must contain a hyphen", id); + return NULL; } + checksum = final_hyphen + 1; if (*checksum == '\0') { g_warning ("Web app ID %s is broken: should end with checksum, not hyphen", id); |