mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 23:46:17 +01:00
gportalsupport: Fix compilation failure from previous commit
Igor says: Thith code did not path the compilation check. Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
parent
82e31de04d
commit
f5993c0e5d
@ -27,12 +27,14 @@ static gboolean network_available;
|
||||
static void
|
||||
read_flatpak_info (void)
|
||||
{
|
||||
const gchar *path = "/.flatpak-info";
|
||||
|
||||
if (flatpak_info_read)
|
||||
return;
|
||||
|
||||
flatpak_info_read = TRUE;
|
||||
|
||||
if (g_file_test ("/.flatpak-info", G_FILE_TEST_EXISTS))
|
||||
if (g_file_test (path, G_FILE_TEST_EXISTS))
|
||||
{
|
||||
GKeyFile *keyfile;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user