]> git.ipfire.org Git - thirdparty/plymouth.git/commit
ply-progress-bar: Redraw on percentage update
authorHans de Goede <hdegoede@redhat.com>
Fri, 8 Feb 2019 17:04:01 +0000 (18:04 +0100)
committerHans de Goede <hdegoede@redhat.com>
Sat, 23 Feb 2019 13:56:54 +0000 (14:56 +0100)
commitebf60f70197efa40c43f9cd537c5ec771e5b59b3
treee80fc4e823ff1b26a6147191f4ae8c54bea3fc82
parentdfa1dcc6218af13eb3cf328b6ac6ccb86f1a961c
ply-progress-bar: Redraw on percentage update

All the other plymouth widgets do a (re)draw when one of their
properties get updated. Make ply-progress-bar also do this, this allows
dropping the draw calls directly after the 2 current callers of
ply_progress_bar_set_percent_done.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
src/libply-splash-graphics/ply-progress-bar.c
src/plugins/splash/throbgress/plugin.c