X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=notmuch.c;h=45a73ce07f2b31fb660871a17a74b50f13820aa0;hb=eb7d096edce8443f3db49376ee485cf357523d3b;hp=99ddd6d080fb6a23068ee904b2c6c0f23832da3b;hpb=9c81214ae512b65f3146f1c432a8e14466d3dae5;p=notmuch 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;