mirror of
https://github.com/labwc/labwc.git
synced 2026-03-22 05:33:57 -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
|
|
@ -302,8 +302,6 @@ struct server {
|
|||
/* Set when in cycle (alt-tab) mode */
|
||||
struct cycle_state cycle;
|
||||
|
||||
struct theme *theme;
|
||||
|
||||
struct menu *menu_current;
|
||||
struct wl_list menus;
|
||||
|
||||
|
|
|
|||
|
|
@ -213,12 +213,9 @@ struct theme {
|
|||
int mag_border_width;
|
||||
};
|
||||
|
||||
struct server;
|
||||
|
||||
/**
|
||||
* theme_init - read openbox theme and generate button textures
|
||||
* @theme: theme data
|
||||
* @server: server
|
||||
* @theme_name: theme-name in <theme-dir>/<theme-name>/labwc/themerc
|
||||
* Note <theme-dir> is obtained in theme-dir.c
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue