mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-23 18:52:09 +01:00
Be more truthful about network availability
If flatpak-info exists, but we don't have the shared key, then the network is not available. Pointed out by Cosimo.
This commit is contained in:
parent
f08b703f84
commit
ce62ca0c14
@ -61,6 +61,8 @@ glib_network_available_in_sandbox (void)
|
||||
available = g_strv_contains ((const char * const *)shared, "network");
|
||||
g_strfreev (shared);
|
||||
}
|
||||
else
|
||||
available = FALSE;
|
||||
}
|
||||
|
||||
g_key_file_free (keyfile);
|
||||
|
Loading…
x
Reference in New Issue
Block a user