core: Fix error types.
* NEWS: Update. * src/data.c (gpgme_data_set_flag): Return a 'gpgme_error_t'. * src/error.c (gpgme_strerror_r): Fix type of first argument. * src/gpgme.h.in (gpgme_strerror_r): Adapt. (gpgme_data_set_flag): Likewise.
Fix for consistency. This should not pose problems, because typedef
gpg_error_t gpgme_error_t.
- Signed-off-by: Justus Winter <justus@g10code.com>