summaryrefslogtreecommitdiff
path: root/pkcs11/wrap-layer/tests/test-login-hints.c
diff options
context:
space:
mode:
Diffstat (limited to 'pkcs11/wrap-layer/tests/test-login-hints.c')
-rw-r--r--pkcs11/wrap-layer/tests/test-login-hints.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkcs11/wrap-layer/tests/test-login-hints.c b/pkcs11/wrap-layer/tests/test-login-hints.c
index 48bb8309..369f84b9 100644
--- a/pkcs11/wrap-layer/tests/test-login-hints.c
+++ b/pkcs11/wrap-layer/tests/test-login-hints.c
@@ -55,7 +55,9 @@ test_did_unlock_fail (void)
int
main (int argc, char **argv)
{
+#if !GLIB_CHECK_VERSION(2,35,0)
g_type_init ();
+#endif
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/wrap-layer/login-hints/did_unlock_fail", test_did_unlock_fail);