X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-reply.c;h=40201b805369307727507bb2a6a4b206af25d7a8;hp=4c1dd56024698041f1c97bca50347ffca8cace2e;hb=e142de643d3bb4354f70e1490a97b491d1116e95;hpb=32819f74d3ac2eee25cf234d988688cc82ecbc0a diff --git a/notmuch-reply.c b/notmuch-reply.c index 4c1dd560..40201b80 100644 --- a/notmuch-reply.c +++ b/notmuch-reply.c @@ -286,7 +286,7 @@ static InternetAddressList *get_sender(GMimeMessage *message) if (! reply_to_header_is_redundant (message, reply_to_list)) return reply_to_list; - g_object_unref (G_OBJECT (reply_to_list)); + g_mime_2_6_unref (G_OBJECT (reply_to_list)); } return g_mime_message_get_from (message); @@ -740,7 +740,9 @@ notmuch_reply_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))