diff options
Diffstat (limited to 'pkcs11/roots-store/tests/check-roots-module.c')
-rw-r--r-- | pkcs11/roots-store/tests/check-roots-module.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkcs11/roots-store/tests/check-roots-module.c b/pkcs11/roots-store/tests/check-roots-module.c index c73a1888..0b46b17a 100644 --- a/pkcs11/roots-store/tests/check-roots-module.c +++ b/pkcs11/roots-store/tests/check-roots-module.c @@ -52,7 +52,9 @@ on_p11_tests_log (int level, const char *section, const char *message) int main (int argc, const char *argv[]) { +#if !GLIB_CHECK_VERSION(2,35,0) g_type_init (); +#endif p11_tests_set_log_func (on_p11_tests_log); p11_tests_set_unexpected (1); |