diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2017-07-14 15:12:00 +0200 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2017-07-14 21:23:52 -0300 |
commit | e142de643d3bb4354f70e1490a97b491d1116e95 (patch) | |
tree | cb192df604b692bc415584c2c66e993efa6a7864 /notmuch-show.c | |
parent | 8492298a613e8e666d0f3054dadcb98b72a65ae4 (diff) |
config: deprecate/drop crypto.gpg_path under gmime 2.6/3.0
gmime 3.0 no longer offers a means to set the path for gpg.
Users can set $PATH anyway if they want to pick a
differently-installed gpg (e.g. /usr/local/bin/gpg), so this isn't
much of a reduction in functionality.
The one main difference is for people who have tried to use "gpg2" to
make use of gpg 2.1, but that isn't usefully co-installable anyway.
Diffstat (limited to 'notmuch-show.c')
-rw-r--r-- | notmuch-show.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/notmuch-show.c b/notmuch-show.c index f8f1d0f1..74e77249 100644 --- a/notmuch-show.c +++ b/notmuch-show.c @@ -1183,7 +1183,9 @@ notmuch_show_command (notmuch_config_t *config, int argc, char *argv[]) return EXIT_FAILURE; } +#if (GMIME_MAJOR_VERSION < 3) params.crypto.gpgpath = notmuch_config_get_crypto_gpg_path (config); +#endif if (notmuch_database_open (notmuch_config_get_database_path (config), NOTMUCH_DATABASE_MODE_READ_ONLY, ¬much)) |