From 0184447d6a6930e7fab1b6f3df97e89b81809c7e Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Mon, 22 Oct 2012 16:55:39 +0200 Subject: Fix for deprecations in glib 2.35.0 * g_type_init() was deprecated --- pkcs11/wrap-layer/tests/test-login-hints.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkcs11/wrap-layer/tests/test-login-hints.c') 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); -- cgit v1.2.1