[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
1 changed files with 1 additions and 0 deletions

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