From cbf57ea9d1ba2118f11ebd7a0c474aa1f28ca0af Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Thu, 29 Jul 2021 22:01:16 +0100 Subject: [PATCH] trivial: Fix the fwupdtool progress bar to actually work --- src/fu-tool.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fu-tool.c b/src/fu-tool.c index c4c0b76d5..0f7db0fc5 100644 --- a/src/fu-tool.c +++ b/src/fu-tool.c @@ -3012,6 +3012,7 @@ main (int argc, char *argv[]) priv->main_ctx = g_main_context_new (); priv->loop = g_main_loop_new (priv->main_ctx, FALSE); priv->progressbar = fu_progressbar_new (); + fu_progressbar_set_main_context(priv->progressbar, priv->main_ctx); priv->request = fu_engine_request_new (); /* add commands */