@kugel- commented on this pull request.
{
guint j;
- for (j = 0; j < tm_files->len; j++) + if (!*header_candidates)
There isn't any caller that passes non-NULL, right? I would define `get_includes()` such that it always writes to `*header_candidates` (unless there are none).