X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fdatabase.cc;h=5cc076587a88785a5801eafcc56df2abef997d20;hp=52ed618b81a6e3815b45d89c9e486d871d508e91;hb=a7bf045fb178b5ed48e71269427cec42c21f8cd6;hpb=cf8aaafbad6815ebdfcd9b3b36cfe3ca5ff2764b diff --git a/lib/database.cc b/lib/database.cc index 52ed618b..5cc07658 100644 --- a/lib/database.cc +++ b/lib/database.cc @@ -649,7 +649,9 @@ notmuch_database_open (const char *path, } /* Initialize the GLib type system and threads */ +#if !GLIB_CHECK_VERSION(2, 35, 1) g_type_init (); +#endif /* Initialize gmime */ if (! initialized) {