X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=util%2Fgmime-extra.h;fp=util%2Fgmime-extra.h;h=de275bc16d444626cac78293cc9af6629991d868;hp=8096dbe3274ea37671fadf1482819bf23a92c615;hb=606e320e472b486359cf7a44c488b29e717a3ac8;hpb=1fdc08d0ffab9b211861de5d148d0a79eae840bc diff --git a/util/gmime-extra.h b/util/gmime-extra.h index 8096dbe3..de275bc1 100644 --- a/util/gmime-extra.h +++ b/util/gmime-extra.h @@ -14,6 +14,7 @@ GMimeStream *g_mime_stream_stdout_new(void); #define GMIME_ADDRESS_TYPE_BCC GMIME_RECIPIENT_TYPE_BCC #define g_mime_2_6_unref(obj) g_object_unref (obj) +#define g_mime_3_unused(arg) arg #define g_mime_certificate_get_fpr16(cert) g_mime_certificate_get_key_id (cert) #define g_mime_certificate_get_uid(cert) g_mime_certificate_get_name (cert); #else /* GMime >= 3.0 */ @@ -56,6 +57,7 @@ typedef GMimeTrust GMimeCertificateTrust; #define GMIME_CERTIFICATE_TRUST_ULTIMATE GMIME_TRUST_ULTIMATE #define g_mime_2_6_unref(obj) /*ignore*/ +#define g_mime_3_unused(arg) unused(arg) #endif /**