diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-11-10 07:47:34 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-11-10 07:47:34 +0000 |
commit | 9273d06df99648652b98adf86d7562811eb323b8 (patch) | |
tree | c27fec60bd50ed5590f149dec8c2c6ae3bbeec48 /src/main.c | |
parent | 559f0d61388eab404f03a1c673b3c322e2cafa07 (diff) |
check if OpenPGP protocol is available on startup.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@733 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -626,7 +626,8 @@ static void idle_function_for_gpgme(void) static void check_gpg(void) { #if USE_GPGME - if (gpgme_check_version("0.4.5")) { + if (gpgme_check_version("0.4.5") && + !gpgme_engine_check_version(GPGME_PROTOCOL_OpenPGP)) { /* Also does some gpgme init */ gpgme_engine_info_t engineInfo; |