mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-25 13:55:34 -05:00
[ThemeParserTest] Initialize the widget name to NULL
This commit is contained in:
parent
c40bb4fc35
commit
cada24250c
1 changed files with 1 additions and 0 deletions
|
@ -114,6 +114,7 @@ int main ( int argc, char ** argv )
|
|||
|
||||
widget wid;
|
||||
wid.name = "blaat";
|
||||
wid.state = NULL;
|
||||
/** Boolean property */
|
||||
rofi_theme_parse_string ( "*{ test: true; test2:/* inline */false; }");
|
||||
TASSERT ( rofi_theme_get_boolean ( &wid, "test", FALSE) == TRUE );
|
||||
|
|
Loading…
Reference in a new issue