panel: fix signature mismatch on widget_update_volume

This commit is contained in:
K. Lange 2023-03-02 09:51:28 +09:00
parent 87052218c5
commit 64770f3db3

View File

@ -26,7 +26,7 @@ static struct MenuList * volume_menu;
static long volume_level = 0;
static int mixer = -1;
static int widget_update_volume(struct PanelWidget * this) {
static int widget_update_volume(struct PanelWidget * this, int * force_updates) {
if (mixer == -1) {
mixer = open("/dev/mixer", O_RDONLY);
}