mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
gmime-cleanup: drop g_mime_2_6_unref
signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
This commit is contained in:
parent
7e6f55b268
commit
591a0787c2
3 changed files with 0 additions and 4 deletions
|
@ -591,7 +591,6 @@ _notmuch_message_index_file (notmuch_message_t *message,
|
||||||
addresses = g_mime_message_get_from (mime_message);
|
addresses = g_mime_message_get_from (mime_message);
|
||||||
if (addresses) {
|
if (addresses) {
|
||||||
_index_address_list (message, "from", addresses);
|
_index_address_list (message, "from", addresses);
|
||||||
g_mime_2_6_unref (addresses);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
addresses = g_mime_message_get_all_recipients (mime_message);
|
addresses = g_mime_message_get_all_recipients (mime_message);
|
||||||
|
|
|
@ -285,8 +285,6 @@ static InternetAddressList *get_sender(GMimeMessage *message)
|
||||||
*/
|
*/
|
||||||
if (! reply_to_header_is_redundant (message, reply_to_list))
|
if (! reply_to_header_is_redundant (message, reply_to_list))
|
||||||
return reply_to_list;
|
return reply_to_list;
|
||||||
|
|
||||||
g_mime_2_6_unref (G_OBJECT (reply_to_list));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return g_mime_message_get_from (message);
|
return g_mime_message_get_from (message);
|
||||||
|
|
|
@ -34,7 +34,6 @@ typedef GMimeAddressType GMimeRecipientType;
|
||||||
|
|
||||||
typedef GMimeSignatureStatus GMimeSignatureError;
|
typedef GMimeSignatureStatus GMimeSignatureError;
|
||||||
|
|
||||||
#define g_mime_2_6_unref(obj) /*ignore*/
|
|
||||||
#define g_mime_3_unused(arg) unused(arg)
|
#define g_mime_3_unused(arg) unused(arg)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue