-
When `--attributes` is specified and doesn’t include `standard::name` in its list, `gio` would print a critical warning from the (mandatory) call to `g_file_info_get_name()`. Fix that by making the call to `g_file_info_get_name()` optional. Add a unit test too. Signed-off-by: Philip Withnall <philip@tecnocode.co.uk> Fixes: #3158
9028c9bd