summaryrefslogtreecommitdiff
path: root/pkcs11/gnome2-store/gkm-gnome2-standalone.c
diff options
context:
space:
mode:
Diffstat (limited to 'pkcs11/gnome2-store/gkm-gnome2-standalone.c')
-rw-r--r--pkcs11/gnome2-store/gkm-gnome2-standalone.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkcs11/gnome2-store/gkm-gnome2-standalone.c b/pkcs11/gnome2-store/gkm-gnome2-standalone.c
index 102a46af..5d5b9adc 100644
--- a/pkcs11/gnome2-store/gkm-gnome2-standalone.c
+++ b/pkcs11/gnome2-store/gkm-gnome2-standalone.c
@@ -42,7 +42,9 @@ C_GetFunctionList (CK_FUNCTION_LIST_PTR_PTR list)
if (!list)
return CKR_ARGUMENTS_BAD;
+#if !GLIB_CHECK_VERSION(2,35,0)
g_type_init ();
+#endif
*list = gkm_gnome2_store_get_functions ();
return CKR_OK;