mirror of
https://github.com/labwc/labwc.git
synced 2025-11-01 22:58:47 -04:00
main.c: declare theme within main()
This commit is contained in:
parent
de88b69d62
commit
ce73d23127
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,6 @@
|
|||
#include "menu/menu.h"
|
||||
|
||||
struct rcxml rc = { 0 };
|
||||
struct theme theme = { 0 };
|
||||
|
||||
static const char labwc_usage[] =
|
||||
"Usage: labwc [-h] [-s <startup-command>] [-c <config-file>] [-v]\n";
|
||||
|
|
@ -76,6 +75,7 @@ main(int argc, char *argv[])
|
|||
server_init(&server);
|
||||
server_start(&server);
|
||||
|
||||
struct theme theme = { 0 };
|
||||
theme_init(&theme, server.renderer, rc.theme_name);
|
||||
server.theme = &theme;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue