X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-show.c;h=74e77249d123816257388d3a993811f37fba682b;hp=f8f1d0f1c85ac36c2377f526d6a9245353213bf8;hb=58bf820b78f90c3db57fdd95a73fe76dc800733f;hpb=cd853915ec0ad3e3ee6ec90a7d856e95d001abe9 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))