diff options
| author | David Bremner <david@tethera.net> | 2021-05-12 20:22:18 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2021-05-14 06:40:37 -0300 |
| commit | 5a8d174f6797844580b52857a6254c25ce532d1c (patch) | |
| tree | 202442b6ba8d8d52058e202f8ed8457f06457390 /notmuch.c | |
| parent | b1b679858868d1a004b67a1a6eccb6c9d3f755e9 (diff) | |
CLI: centralize initialization in notmuch_client_init
Initially make sure gmime_filter_reply initialization is
thread-safe (assuming notmuch_client_init is only called once).
For tidyness, also put talloc initialization in the new function.
Diffstat (limited to 'notmuch.c')
| -rw-r--r-- | notmuch.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -464,15 +464,10 @@ main (int argc, char *argv[]) { } }; - talloc_enable_null_tracking (); + notmuch_client_init (); local = talloc_new (NULL); - g_mime_init (); -#if ! GLIB_CHECK_VERSION (2, 35, 1) - g_type_init (); -#endif - /* Globally default to the current output format version. */ notmuch_format_version = NOTMUCH_FORMAT_CUR; |
