]> git.notmuchmail.org Git - notmuch/commit - util/gmime-extra.h
clean up use of constants in g_mime_multipart_ wrappers
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Fri, 14 Jul 2017 13:12:01 +0000 (15:12 +0200)
committerDavid Bremner <david@tethera.net>
Sat, 15 Jul 2017 00:23:52 +0000 (21:23 -0300)
commitf76a245009b8db6065d83a0e86df697003f41b77
tree850361544ef74afbfb43ab1b60a3cb074b8dea3b
parente142de643d3bb4354f70e1490a97b491d1116e95
clean up use of constants in g_mime_multipart_ wrappers

When compiling as C code (instead of C++) against gmime 3.0, gcc gives
errors like the following:

    error: invalid conversion from ‘int’ to ‘GMimeDecryptFlags’ [-fpermissive]

so use explicit *_NONE values instead.
util/gmime-extra.h