diff options
| author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2019-05-02 09:19:44 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2019-05-03 06:57:16 -0300 |
| commit | 582f255aeba3998428fa489dc22c735bd0b88143 (patch) | |
| tree | 8dfc88540542ff28b83e77e0356a93a95bc41164 /lib | |
| parent | 38240aafac531e350f6819103cd1d974d4c75d47 (diff) | |
gmime-cleanup: use GMime 3.0 function names
Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/index.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/index.cc b/lib/index.cc index f21761d0..41822488 100644 --- a/lib/index.cc +++ b/lib/index.cc @@ -357,7 +357,7 @@ _index_content_type (notmuch_message_t *message, GMimeObject *part) { GMimeContentType *content_type = g_mime_object_get_content_type (part); if (content_type) { - char *mime_string = g_mime_content_type_to_string (content_type); + char *mime_string = g_mime_content_type_get_mime_type (content_type); if (mime_string) { _notmuch_message_gen_terms (message, "mimetype", mime_string); g_free (mime_string); @@ -493,7 +493,7 @@ _index_mime_part (notmuch_message_t *message, } } - wrapper = g_mime_part_get_content_object (GMIME_PART (part)); + wrapper = g_mime_part_get_content (GMIME_PART (part)); if (wrapper) g_mime_data_wrapper_write_to_stream (wrapper, filter); |
