menu: use wl_list instead of array

...to make it easier to split menu.c into smaller chunks without
exposing nr_menus variable.
This commit is contained in:
Johan Malm 2023-10-09 20:59:04 +01:00 committed by Johan Malm
parent b22722dafa
commit a105c8781a
5 changed files with 29 additions and 38 deletions

View file

@ -180,7 +180,7 @@ main(int argc, char *argv[])
server_finish(&server);
menu_finish();
menu_finish(&server);
theme_finish(&theme);
rcxml_finish();
font_finish();