mirror of
https://git.proxmox.com/git/fwupd
synced 2025-07-27 11:09:28 +00:00
trivial: Fix the fwupdtool progress bar to actually work
This commit is contained in:
parent
6f7ceb9b35
commit
cbf57ea9d1
@ -3012,6 +3012,7 @@ main (int argc, char *argv[])
|
|||||||
priv->main_ctx = g_main_context_new ();
|
priv->main_ctx = g_main_context_new ();
|
||||||
priv->loop = g_main_loop_new (priv->main_ctx, FALSE);
|
priv->loop = g_main_loop_new (priv->main_ctx, FALSE);
|
||||||
priv->progressbar = fu_progressbar_new ();
|
priv->progressbar = fu_progressbar_new ();
|
||||||
|
fu_progressbar_set_main_context(priv->progressbar, priv->main_ctx);
|
||||||
priv->request = fu_engine_request_new ();
|
priv->request = fu_engine_request_new ();
|
||||||
|
|
||||||
/* add commands */
|
/* add commands */
|
||||||
|
Loading…
Reference in New Issue
Block a user