]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch.c
CLI: centralize initialization in notmuch_client_init
[notmuch] / notmuch.c
index 2429999c2694345dd71b556e282b6dbb5a943dbe..9ca3a4beffc01d509b2ad8ae7fe9b7ebf8d08b42 100644 (file)
--- a/notmuch.c
+++ b/notmuch.c
@@ -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;