Fix various small documentation errors
Review Request #1855 — Created Sept. 28, 2022 and submitted
Fix missing transfer annotations, remove old syntax from gtk-doc, correct an
element-typeannotation, and fix a typo.
Compiled with docs on, and got fewer warnings. Also functions with added transfer annotations are no longer unavailable to bindings.