gpgme_sub_key_t should be gpgme_subkey_t in the docs, attached a patch to fix it.
D175: 379_0001-doc-rename-gpgme_sub_key_t-to-gpgme_subkey_t-to-matc.patch
Thanks.