diff options
author | David Bremner <david@tethera.net> | 2021-05-15 08:14:37 -0300 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2021-05-15 08:14:37 -0300 |
commit | ccd2ef38718efa3c9268eb68ad54454609e4451c (patch) | |
tree | 82bd2b3cf803a775ee0ea68b5c3383f538d829cd /notmuch-client-init.c | |
parent | 121f9ddad3eecfb23babccbe84280381e5f5a283 (diff) |
CLI: add missing file notmuch-client-init
This file should have been created in commit 5a8d174f, but wasn't.
Diffstat (limited to 'notmuch-client-init.c')
-rw-r--r-- | notmuch-client-init.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/notmuch-client-init.c b/notmuch-client-init.c new file mode 100644 index 00000000..60db6ba4 --- /dev/null +++ b/notmuch-client-init.c @@ -0,0 +1,18 @@ +#include "notmuch-client.h" +#include "gmime-filter-reply.h" + +/* Caller is responsible for only calling this once */ + +void +notmuch_client_init (void) +{ +#if ! GLIB_CHECK_VERSION (2, 35, 1) + g_type_init (); +#endif + + g_mime_init (); + + g_mime_filter_reply_module_init (); + + talloc_enable_null_tracking (); +} |