diff options
| author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2019-05-02 09:19:40 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2019-05-03 06:56:28 -0300 |
| commit | 591a0787c2dc8fc79d0673ec42a84e6939722f17 (patch) | |
| tree | c05ee0b5ab1d858a6be370bb82d5abbf49b7e53b | |
| parent | 7e6f55b268d38a904b67bf0ce67f97e07661094f (diff) | |
gmime-cleanup: drop g_mime_2_6_unref
signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
| -rw-r--r-- | lib/index.cc | 1 | ||||
| -rw-r--r-- | notmuch-reply.c | 2 | ||||
| -rw-r--r-- | util/gmime-extra.h | 1 |
3 files changed, 0 insertions, 4 deletions
diff --git a/lib/index.cc b/lib/index.cc index 6b6fbb8f..76830921 100644 --- a/lib/index.cc +++ b/lib/index.cc @@ -591,7 +591,6 @@ _notmuch_message_index_file (notmuch_message_t *message, addresses = g_mime_message_get_from (mime_message); if (addresses) { _index_address_list (message, "from", addresses); - g_mime_2_6_unref (addresses); } addresses = g_mime_message_get_all_recipients (mime_message); diff --git a/notmuch-reply.c b/notmuch-reply.c index 974df401..fa91c5de 100644 --- a/notmuch-reply.c +++ b/notmuch-reply.c @@ -285,8 +285,6 @@ static InternetAddressList *get_sender(GMimeMessage *message) */ if (! reply_to_header_is_redundant (message, reply_to_list)) return reply_to_list; - - g_mime_2_6_unref (G_OBJECT (reply_to_list)); } return g_mime_message_get_from (message); diff --git a/util/gmime-extra.h b/util/gmime-extra.h index d539ec3a..c17fa8fb 100644 --- a/util/gmime-extra.h +++ b/util/gmime-extra.h @@ -34,7 +34,6 @@ typedef GMimeAddressType GMimeRecipientType; typedef GMimeSignatureStatus GMimeSignatureError; -#define g_mime_2_6_unref(obj) /*ignore*/ #define g_mime_3_unused(arg) unused(arg) /** |
