Commit b866d910 authored by Christian Hergert's avatar Christian Hergert

flatpak: use alternate API for network access check

parent 83b2fea7
......@@ -62,7 +62,7 @@ gbp_flatpak_download_stage_query (IdeBuildStage *stage,
g_assert (!cancellable || G_IS_CANCELLABLE (cancellable));
/* Ignore downloads if there is no connection */
if (!g_network_monitor_get_network_available (g_network_monitor_get_default ()))
if (!ide_application_has_network (IDE_APPLICATION_DEFAULT))
{
ide_build_stage_log (stage,
IDE_BUILD_LOG_STDOUT,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment