mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-22 17:08:53 +02:00
Merge branch 'fix-win32-app-info-registry-key-assert' into 'main'
GWin32AppInfo: Do not assert about successful open'ing of registry keys See merge request GNOME/glib!2260
This commit is contained in:
@@ -983,7 +983,10 @@ get_verbs (GWin32RegistryKey *program_id_key,
|
|||||||
name,
|
name,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
g_assert (subkey != NULL);
|
/* We may not have the required access rights to open the child key */
|
||||||
|
if (subkey == NULL)
|
||||||
|
continue;
|
||||||
|
|
||||||
/* The key we're looking at is "<some_root>/Shell/<this_key>",
|
/* The key we're looking at is "<some_root>/Shell/<this_key>",
|
||||||
* where "Shell" is verbshell_prefix.
|
* where "Shell" is verbshell_prefix.
|
||||||
* If it has a value named 'Subcommands' (doesn't matter what its data is),
|
* If it has a value named 'Subcommands' (doesn't matter what its data is),
|
||||||
|
Reference in New Issue
Block a user