1
0
Fork 0
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:
Dave Davenport 2017-04-04 23:26:35 +02:00
parent c40bb4fc35
commit cada24250c

View file

@ -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 );