]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch.c
new: Wrap adding and removing messages in atomic sections.
[notmuch] / notmuch.c
index 93f319442c20a24dbf57497de9c4e9d02fc717e5..f9d66297f044971b034521d2e5c916b4a5aee77f 100644 (file)
--- a/notmuch.c
+++ b/notmuch.c
@@ -48,7 +48,7 @@ static int
 notmuch_help_command (void *ctx, int argc, char *argv[]);
 
 static const char search_terms_help[] =
-    "\tSeveral notmuch commands accept a comman syntax for search\n"
+    "\tSeveral notmuch commands accept a common syntax for search\n"
     "\tterms.\n"
     "\n"
     "\tThe search terms can consist of free-form text (and quoted\n"
@@ -579,6 +579,7 @@ main (int argc, char *argv[])
     local = talloc_new (NULL);
 
     g_mime_init (0);
+    g_type_init ();
 
     if (argc == 1)
        return notmuch (local);