X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=notmuch.c;h=45a73ce07f2b31fb660871a17a74b50f13820aa0;hb=8d6aa603ef3a9680c7032cabf59e3673f773dea3;hp=99ddd6d080fb6a23068ee904b2c6c0f23832da3b;hpb=10aac899117e96606b690e5788924ccc703c53c8;p=obsolete%2Fnotmuch-old diff --git a/notmuch.c b/notmuch.c index 99ddd6d0..45a73ce0 100644 --- a/notmuch.c +++ b/notmuch.c @@ -291,7 +291,9 @@ main (int argc, char *argv[]) local = talloc_new (NULL); g_mime_init (0); +#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;