From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id ABA996DE0FBD for ; Sat, 3 Jun 2017 10:48:59 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.001 X-Spam-Level: X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[AWL=0.010, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UehETwRC6kTG for ; Sat, 3 Jun 2017 10:48:58 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 937B46DE1154 for ; Sat, 3 Jun 2017 10:48:25 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.84_2) (envelope-from ) id 1dHD94-0002Rs-GH; Sat, 03 Jun 2017 13:47:26 -0400 Received: (nullmailer pid 17108 invoked by uid 1000); Sat, 03 Jun 2017 17:48:04 -0000 From: David Bremner To: notmuch@notmuchmail.org, notmuch@freelists.org Subject: [PATCH 17/23] cli: hide rename of GMimeCertificateTrust Date: Sat, 3 Jun 2017 14:47:48 -0300 Message-Id: <20170603174754.16911-18-david@tethera.net> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170603174754.16911-1-david@tethera.net> References: <20170603174754.16911-1-david@tethera.net> X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Jun 2017 17:48:59 -0000 Both the enum and the values are renamed in GMime 3.0. --- util/gmime-extra.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/util/gmime-extra.h b/util/gmime-extra.h index 90f230c1..6b74724e 100644 --- a/util/gmime-extra.h +++ b/util/gmime-extra.h @@ -37,10 +37,20 @@ typedef GMimeAddressType GMimeRecipientType; #define g_mime_utils_header_decode_text(txt) g_mime_utils_header_decode_text (NULL, txt) #define internet_address_to_string(ia,encode) internet_address_to_string (ia,NULL,encode) #define internet_address_list_parse_string(str) internet_address_list_parse (NULL,str) + typedef GMimeAddressType GMimeRecipientType; typedef GMimeSignatureStatus GMimeSignatureError; +typedef GMimeTrust GMimeCertificateTrust; + +#define GMIME_CERTIFICATE_TRUST_UNKNOWN GMIME_TRUST_UNKNOWN +#define GMIME_CERTIFICATE_TRUST_UNDEFINED GMIME_TRUST_UNDEFINED +#define GMIME_CERTIFICATE_TRUST_NEVER GMIME_TRUST_NEVER +#define GMIME_CERTIFICATE_TRUST_MARGINAL GMIME_TRUST_MARGINAL +#define GMIME_CERTIFICATE_TRUST_FULLY GMIME_TRUST_FULL +#define GMIME_CERTIFICATE_TRUST_ULTIMATE GMIME_TRUST_ULTIMATE + #endif /** -- 2.11.0