diff options
Diffstat (limited to 'lib/database.cc')
-rw-r--r-- | lib/database.cc | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |