X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=util%2Fgmime-extra.h;h=c17fa8fb6f3dd199913ea7436c9f487d7c553959;hp=5d8c52f783a7233f2d41fea529fc60574134c31b;hb=591a0787c2dc8fc79d0673ec42a84e6939722f17;hpb=152b6cac5d496aaad816d20d7b2286e9ac73207d diff --git a/util/gmime-extra.h b/util/gmime-extra.h index 5d8c52f7..c17fa8fb 100644 --- a/util/gmime-extra.h +++ b/util/gmime-extra.h @@ -9,17 +9,6 @@ extern "C" { GMimeStream *g_mime_stream_stdout_new(void); -#if (GMIME_MAJOR_VERSION < 3) - -#define GMIME_ADDRESS_TYPE_TO GMIME_RECIPIENT_TYPE_TO -#define GMIME_ADDRESS_TYPE_CC GMIME_RECIPIENT_TYPE_CC -#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) -#else /* GMime >= 3.0 */ - #define GMIME_ENABLE_RFC_2047_WORKAROUNDS 0xdeadbeef #define g_mime_content_type_to_string(c) g_mime_content_type_get_mime_type (c) #define g_mime_filter_crlf_new(encode,dots) g_mime_filter_dos2unix_new (FALSE) @@ -45,9 +34,7 @@ typedef GMimeAddressType GMimeRecipientType; typedef GMimeSignatureStatus GMimeSignatureError; -#define g_mime_2_6_unref(obj) /*ignore*/ #define g_mime_3_unused(arg) unused(arg) -#endif /** * Get last 16 hex digits of fingerprint ("keyid")