X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=util%2Fgmime-extra.h;h=7688129a8cf9d52f5c58120d9b33b803c218ecd6;hp=d744c4e4cb364b99734217e0f1aada597b12d36a;hb=4ce7591610444a1c5ef6f56b57af8e180437fa62;hpb=eeb64cdeeb134bcd30c0927bde74dea8e9a7b88a diff --git a/util/gmime-extra.h b/util/gmime-extra.h index d744c4e4..7688129a 100644 --- a/util/gmime-extra.h +++ b/util/gmime-extra.h @@ -13,6 +13,8 @@ GMimeStream *g_mime_stream_stdout_new(void); #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) + #else /* GMime >= 3.0 */ typedef GMimeAddressType GMimeRecipientType; @@ -51,6 +53,7 @@ typedef GMimeTrust GMimeCertificateTrust; #define GMIME_CERTIFICATE_TRUST_FULLY GMIME_TRUST_FULL #define GMIME_CERTIFICATE_TRUST_ULTIMATE GMIME_TRUST_ULTIMATE +#define g_mime_2_6_unref(obj) /*ignore*/ #endif /**