libgnt/libgnt

Fix doc build with latest gi-docgen

2 months ago, Elliott Sales de Andrade
cc3d07cf4eca
Fix doc build with latest gi-docgen

It doesn't like the version with `-devel` suffix, so tweak a bit so it's fine
with it.

Also, clean up unused variables.

Testing Done:
Ran `ninja build` with docs enabled.

Reviewed at https://reviews.imfreedom.org/r/2997/
syntax: regexp
build.*\/
^subprojects\/.+\/