mirror of
https://github.com/labwc/labwc.git
synced 2026-03-01 01:40:24 -05: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
b22722dafa
commit
a105c8781a
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