mirror of
https://github.com/labwc/labwc.git
synced 2026-04-12 08:21:13 -04:00
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:
parent
3e2baa3f05
commit
1298338747
5 changed files with 29 additions and 38 deletions
|
|
@ -320,6 +320,7 @@ struct server {
|
|||
struct theme *theme;
|
||||
|
||||
struct menu *menu_current;
|
||||
struct wl_list menus;
|
||||
};
|
||||
|
||||
#define LAB_NR_LAYERS (4)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue