mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
Merge branch 'backport-2260-win32-registry-assert-glib-2-70' into 'glib-2-70'
Backport !2260 “GWin32AppInfo: Remove assertion on the opened registry key” to glib-2-70 See merge request GNOME/glib!2313
This commit is contained in:
@@ -983,7 +983,10 @@ get_verbs (GWin32RegistryKey *program_id_key,
|
||||
name,
|
||||
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>",
|
||||
* where "Shell" is verbshell_prefix.
|
||||
* If it has a value named 'Subcommands' (doesn't matter what its data is),
|
||||
|
Reference in New Issue
Block a user