summaryrefslogtreecommitdiff
path: root/pkcs11/gnome2-store/tests/test-gnome2-storage.c
diff options
context:
space:
mode:
Diffstat (limited to 'pkcs11/gnome2-store/tests/test-gnome2-storage.c')
-rw-r--r--pkcs11/gnome2-store/tests/test-gnome2-storage.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkcs11/gnome2-store/tests/test-gnome2-storage.c b/pkcs11/gnome2-store/tests/test-gnome2-storage.c
index d3f315b9..fefe4761 100644
--- a/pkcs11/gnome2-store/tests/test-gnome2-storage.c
+++ b/pkcs11/gnome2-store/tests/test-gnome2-storage.c
@@ -459,7 +459,9 @@ null_log_handler (const gchar *log_domain,
int
main (int argc, char **argv)
{
+#if !GLIB_CHECK_VERSION(2,35,0)
g_type_init ();
+#endif
g_test_init (&argc, &argv, NULL);
egg_libgcrypt_initialize ();