diff options
author | Stef Walter <stefw@gnome.org> | 2012-10-22 16:55:39 +0200 |
---|---|---|
committer | Stef Walter <stefw@gnome.org> | 2012-10-22 16:55:39 +0200 |
commit | 0184447d6a6930e7fab1b6f3df97e89b81809c7e (patch) | |
tree | 222b3e4a33bb153b50f1e6414647441f51e96821 /pkcs11/gnome2-store/gkm-gnome2-standalone.c | |
parent | 051d70fc3e95da1f67015c57b3d2358f23c2de26 (diff) | |
download | gnome-keyring-0184447d6a6930e7fab1b6f3df97e89b81809c7e.tar.gz |
Fix for deprecations in glib 2.35.0
* g_type_init() was deprecated
Diffstat (limited to 'pkcs11/gnome2-store/gkm-gnome2-standalone.c')
-rw-r--r-- | pkcs11/gnome2-store/gkm-gnome2-standalone.c | 2 |
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; |