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
a2e0de7676
commit
e202784a6c
18 changed files with 46 additions and 52 deletions
|
|
@ -26,7 +26,7 @@ static void
|
|||
update_preview_outlines(struct view *view)
|
||||
{
|
||||
/* Create / Update preview outline tree */
|
||||
struct theme *theme = server.theme;
|
||||
struct theme *theme = rc.theme;
|
||||
struct lab_scene_rect *rect = server.cycle.preview_outline;
|
||||
if (!rect) {
|
||||
struct lab_scene_rect_options opts = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue