cleanup: Fix type mismatch around gpgme_error_t.
authorNIIBE Yutaka <gniibe@fsij.org>
Fri, 16 Oct 2015 00:51:42 +0000 (09:51 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Fri, 16 Oct 2015 00:51:42 +0000 (09:51 +0900)
commit0d9d0a6b5b0c6f474a079bbaef11078c5df5f3b5
tree99473c253d5bb41aa8494ec7a4f131734030c1f3
parentf0ccce855bd99fca7cfbbcafe3544e3113fedc67
cleanup: Fix type mismatch around gpgme_error_t.

* src/data-compat.c (gpgme_error_to_errno): Use gpg_err_code
to get error code from gpgme_error_t.
* src/gpgme.c (gpgme_new): Don't use gpgme_error.
src/data-compat.c
src/gpgme.c