mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
CLI: add missing file notmuch-client-init
This file should have been created in commit 5a8d174f
, but wasn't.
This commit is contained in:
parent
121f9ddad3
commit
ccd2ef3871
1 changed files with 18 additions and 0 deletions
18
notmuch-client-init.c
Normal file
18
notmuch-client-init.c
Normal file
|
@ -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 ();
|
||||||
|
}
|
Loading…
Reference in a new issue