mirror of
https://github.com/labwc/labwc.git
synced 2026-04-07 08:21:20 -04:00
tree-wide: use rc.theme instead of server.theme
Having two global pointers to the same struct is redundant.
This commit is contained in:
parent
9550bccef2
commit
d4ad27e636
18 changed files with 46 additions and 52 deletions
|
|
@ -260,7 +260,6 @@ main(int argc, char *argv[])
|
|||
struct theme theme = { 0 };
|
||||
theme_init(&theme, rc.theme_name);
|
||||
rc.theme = &theme;
|
||||
server.theme = &theme;
|
||||
|
||||
menu_init();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue